Revision 2822 org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutView.java

View differences:

VCSGisJCheckoutView.java
37 37
   JButton btnTable = new JButton();
38 38
   JTextField txtEffectiveDate = new JTextField();
39 39
   JButton btnEffectiveDate = new JButton();
40
   JComboBox cboView = new JComboBox();
41
   JRadioButton rdbAddTableToProject = new JRadioButton();
42
   ButtonGroup buttongroup2 = new ButtonGroup();
43
   JRadioButton rdbAddLayerToView = new JRadioButton();
44
   JRadioButton rdbDontAddToProject = new JRadioButton();
40 45

  
41 46
   /**
42 47
    * Default constructor
......
128 133
   public JPanel createPanel()
129 134
   {
130 135
      JPanel jpanel1 = new JPanel();
131
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
136
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
132 137
      CellConstraints cc = new CellConstraints();
133 138
      jpanel1.setLayout(formlayout1);
134 139

  
......
199 204
      btnEffectiveDate.setBorder(emptyborder3);
200 205
      jpanel1.add(btnEffectiveDate,cc.xy(6,12));
201 206

  
202
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17 });
207
      cboView.setName("cboView");
208
      jpanel1.add(cboView,cc.xywh(4,22,3,1));
209

  
210
      rdbAddTableToProject.setActionCommand("_Add_table_to_project");
211
      rdbAddTableToProject.setName("rdbAddTableToProject");
212
      rdbAddTableToProject.setText("_Add_table_to_project");
213
      buttongroup2.add(rdbAddTableToProject);
214
      jpanel1.add(rdbAddTableToProject,cc.xywh(2,24,5,1));
215

  
216
      rdbAddLayerToView.setActionCommand("_Add_layer_to_view");
217
      rdbAddLayerToView.setName("rdbAddLayerToView");
218
      rdbAddLayerToView.setText("_Add_layer_to_view");
219
      rdbAddLayerToView.setToolTipText("");
220
      buttongroup2.add(rdbAddLayerToView);
221
      jpanel1.add(rdbAddLayerToView,cc.xywh(2,20,5,1));
222

  
223
      rdbDontAddToProject.setActionCommand("_Dont_add_the_table_or_layer_to_the_project");
224
      rdbDontAddToProject.setName("rdbDontAddToProject");
225
      rdbDontAddToProject.setSelected(true);
226
      rdbDontAddToProject.setText("_Dont_add_the_table_or_layer_to_the_project");
227
      rdbDontAddToProject.setToolTipText("");
228
      buttongroup2.add(rdbDontAddToProject);
229
      jpanel1.add(rdbDontAddToProject,cc.xywh(2,18,5,1));
230

  
231
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25 });
203 232
      return jpanel1;
204 233
   }
205 234

  

Also available in: Unified diff