Revision 44533 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.swing/org.gvsig.expressionevaluator.swing.impl/src/main/java/org/gvsig/expressionevaluator/swing/impl/DefaultJExpressionBuilderView2.java

View differences:

DefaultJExpressionBuilderView2.java
8 8
import javax.swing.ImageIcon;
9 9
import javax.swing.JButton;
10 10
import javax.swing.JComboBox;
11
import javax.swing.JComponent;
11 12
import javax.swing.JLabel;
12 13
import javax.swing.JList;
13 14
import javax.swing.JPanel;
......
18 19
import javax.swing.JTextField;
19 20
import javax.swing.JTree;
20 21
import javax.swing.border.EmptyBorder;
22
import org.gvsig.configurableactions.ConfigurableActionsMamager;
23
import org.gvsig.tools.util.ToolsUtilLocator;
21 24

  
22 25
public class DefaultJExpressionBuilderView2 extends JPanel {
23 26

  
......
107 110

  
108 111
    }
109 112

  
113
    JPanel pnlCfgActions = new JPanel();
110 114
    JTabbedPane tabExpressionBuilder = new JTabbedPane();
111 115

  
112 116
    JList lstSimpleElement = new JList();
......
141 145
    JTextField txtSimpleElementFilter = new JTextField();
142 146
    JButton btnSimpleElementFilter = new JButton();
143 147
    JPanel pnlDescription = new JPanel();
144
    JPanel pnlScriptEditorContainer = new JPanel();
145
    JComboBox cboPickerScripts = new JComboBox();
146
    JButton btnPickerRemove = new JButton();
147
    JButton btnPickerSelectScript = new JButton();
148
//    JPanel pnlScriptEditorContainer = new JPanel();
149
//    JComboBox cboPickerScripts = new JComboBox();
150
//    JButton btnPickerRemove = new JButton();
151
//    JButton btnPickerSelectScript = new JButton();
148 152

  
149 153
    JSplitPane spnlExpression = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
150 154
    JSplitPane spnlBottom = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
......
272 276
        btnSimpleElementFilter.setName("btnSimpleElementFilter");
273 277
        btnSimpleElementFilter.setBorder(emptyborder2x2);
274 278

  
275
        pnlScriptEditorContainer.setName("pnlScriptEditorContainer");
279
//        pnlScriptEditorContainer.setName("pnlScriptEditorContainer");
280
//
281
//        cboPickerScripts.setName("cboPickerScripts");
282
//
283
//        btnPickerRemove.setActionCommand("+");
284
//        btnPickerRemove.setName("btnPickerRemove");
285
//        btnPickerRemove.setText("R");
286
//        btnPickerRemove.setBorder(emptyborder2x2);
287
//
288
//        btnPickerSelectScript.setActionCommand("+");
289
//        btnPickerSelectScript.setName("btnPickerSelectScript");
290
//        btnPickerSelectScript.setText("S");
291
//        btnPickerSelectScript.setBorder(emptyborder2x2);
276 292

  
277
        cboPickerScripts.setName("cboPickerScripts");
278

  
279
        btnPickerRemove.setActionCommand("+");
280
        btnPickerRemove.setName("btnPickerRemove");
281
        btnPickerRemove.setText("R");
282
        btnPickerRemove.setBorder(emptyborder2x2);
283

  
284
        btnPickerSelectScript.setActionCommand("+");
285
        btnPickerSelectScript.setName("btnPickerSelectScript");
286
        btnPickerSelectScript.setText("S");
287
        btnPickerSelectScript.setBorder(emptyborder2x2);
288

  
289 293
        this.scrExpression = new JScrollPane();
290 294
        this.scrExpression.setViewportView(txtExpression);
291 295
        this.scrExpression.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
......
318 322

  
319 323
        this.tabExpressionBuilder.setName("tabExpressionBuilder");
320 324
        this.tabExpressionBuilder.addTab("_Expression", null, this.spnlExpression);
321
        this.tabExpressionBuilder.addTab("_Scripts", null, this.pnlScriptEditorContainer);
325
//        this.tabExpressionBuilder.addTab("_Scripts", null, this.pnlScriptEditorContainer);
322 326
        
323 327
        this.setLayout(new BorderLayout());
324 328
        this.add(tabExpressionBuilder, BorderLayout.CENTER);
325

  
329
        
330
        this.add(pnlCfgActions, BorderLayout.PAGE_START);
331
        
326 332
    }
327 333

  
328 334
    private JPanel getPanelTop() {

Also available in: Unified diff