Revision 44191 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/DefaultJExpressionBuilder.java
DefaultJExpressionBuilder.java | ||
---|---|---|
665 | 665 |
} |
666 | 666 |
|
667 | 667 |
private void doSelectElement(SimpleElement element) { |
668 |
if( !element.isEnabled() ) { |
|
669 |
this.infoPanel.clean(); |
|
670 |
} else { |
|
668 |
// if( !element.isEnabled() ) {
|
|
669 |
// this.infoPanel.clean();
|
|
670 |
// } else {
|
|
671 | 671 |
this.infoPanel.setDescription(removeCursorMark(element.getDescription())); |
672 | 672 |
this.infoPanel.setAdditionalPanel(element.getAditionalPanel(this)); |
673 | 673 |
this.infoPanel.repaint(); |
674 |
} |
|
674 |
// }
|
|
675 | 675 |
} |
676 | 676 |
|
677 | 677 |
private void updateSimpleElementsList(GroupElement group) { |
... | ... | |
833 | 833 |
public boolean getScriptsEnabled() { |
834 | 834 |
return this.config.getScriptsEnabled(); |
835 | 835 |
} |
836 |
|
|
837 |
@Override |
|
838 |
public void setSQLCompatible(boolean sqlCompatible) { |
|
839 |
this.config.setSQLCompatible(sqlCompatible); |
|
840 |
} |
|
841 |
|
|
842 |
@Override |
|
843 |
public boolean isSQLCompatible() { |
|
844 |
return this.config.isSQLCompatible(); |
|
845 |
} |
|
836 | 846 |
|
837 | 847 |
@Override |
838 | 848 |
public JComponent asJComponent() { |
... | ... | |
840 | 850 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
841 | 851 |
this.treeModel = new ElementsTreeModel( |
842 | 852 |
this.manager.createGroupElement( |
853 |
this.config, |
|
843 | 854 |
i18n.getTranslation("_Elements"), |
844 | 855 |
this.getElements() |
845 | 856 |
) |
Also available in: Unified diff