Revision 44505 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/featuretype/FeatureTypePanelView.java

View differences:

FeatureTypePanelView.java
39 39
   JLabel lblDescription = new JLabel();
40 40
   JTextField txtLabel = new JTextField();
41 41
   JTextArea txtDescription = new JTextArea();
42
   JLabel lblTags = new JLabel();
42 43
   JLabel lblTagsName = new JLabel();
43 44
   JLabel lblTagsValue = new JLabel();
44 45
   JComboBox cboTagsName = new JComboBox();
45 46
   JTable tblTags = new JTable();
47
   JLabel lblTagsDescription = new JLabel();
48
   JComboBox cboTagsValue = new JComboBox();
46 49
   JButton btnTagsAdd = new JButton();
47 50
   JButton btnTagsUpdate = new JButton();
48 51
   JButton btnTagsRemove = new JButton();
49
   JLabel lblTagsDescription = new JLabel();
50
   JComboBox cboTagsValue = new JComboBox();
51
   JLabel lblTags = new JLabel();
52
   JPanel pnlCfgActions = new JPanel();
52 53

  
53 54
   /**
54 55
    * Default constructor
......
160 161
   public JPanel createPanel()
161 162
   {
162 163
      JPanel jpanel1 = new JPanel();
163
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
164
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
164 165
      CellConstraints cc = new CellConstraints();
165 166
      jpanel1.setLayout(formlayout1);
166 167

  
167 168
      tabFeatureType.setName("tabFeatureType");
168 169
      tabFeatureType.addTab("_Main",null,createPanel1());
169 170
      tabFeatureType.addTab("_Visualization",null,createPanel4());
170
      jpanel1.add(tabFeatureType,cc.xy(2,2));
171
      jpanel1.add(tabFeatureType,cc.xy(2,3));
171 172

  
172
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 });
173
      jpanel1.add(createPanel7(),cc.xy(2,2));
174
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4 });
173 175
      return jpanel1;
174 176
   }
175 177

  
......
271 273
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
272 274
      jpanel1.add(jscrollpane1,new CellConstraints(4,4,1,1,CellConstraints.DEFAULT,CellConstraints.FILL));
273 275

  
274
      jpanel1.add(createPanel5(),cc.xy(4,6));
275 276
      lblTags.setName("lblTags");
276 277
      lblTags.setText("_Tags");
277 278
      lblTags.setVerticalAlignment(JLabel.TOP);
278 279
      jpanel1.add(lblTags,cc.xy(2,6));
279 280

  
281
      jpanel1.add(createPanel5(),cc.xy(4,6));
280 282
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 });
281 283
      return jpanel1;
282 284
   }
......
308 310
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
309 311
      jpanel1.add(jscrollpane1,cc.xywh(1,1,3,1));
310 312

  
311
      jpanel1.add(createPanel6(),cc.xywh(5,1,1,5));
312 313
      lblTagsDescription.setName("lblTagsDescription");
313 314
      jpanel1.add(lblTagsDescription,cc.xy(3,6));
314 315

  
......
317 318
      cboTagsValue.setRequestFocusEnabled(false);
318 319
      jpanel1.add(cboTagsValue,cc.xy(3,5));
319 320

  
321
      jpanel1.add(createPanel6(),cc.xywh(5,1,1,5));
320 322
      addFillComponents(jpanel1,new int[]{ 2,3,4,5 },new int[]{ 2,4,6 });
321 323
      return jpanel1;
322 324
   }
......
347 349
      return jpanel1;
348 350
   }
349 351

  
352
   public JPanel createPanel7()
353
   {
354
      JPanel jpanel1 = new JPanel();
355
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
356
      CellConstraints cc = new CellConstraints();
357
      jpanel1.setLayout(formlayout1);
358

  
359
      pnlCfgActions.setName("pnlCfgActions");
360
      pnlCfgActions.setOpaque(false);
361
      jpanel1.add(pnlCfgActions,cc.xy(2,1));
362

  
363
      addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 });
364
      return jpanel1;
365
   }
366

  
350 367
   /**
351 368
    * Initializer
352 369
    */

Also available in: Unified diff