public void clearOptionsData() { getControls(); if ( optionsParameterTree != null ) { optionsParameterTree.getRootChildren().removeAll(); } }
@Override protected void getControls() { super.getControls(); XulTextbox[] boxes = new XulTextbox[] { hostNameBox, databaseNameBox, portNumberBox, userNameBox, passwordBox, customDriverClassBox, customUrlBox, dataTablespaceBox, indexTablespaceBox, poolSizeBox, maxPoolSizeBox, languageBox, systemNumberBox, clientBox, serverInstanceBox }; for ( int i = 0; i < boxes.length; i++ ) { XulTextbox xulTextbox = boxes[i]; if ( ( xulTextbox != null ) && ( xulTextbox instanceof ExtTextbox ) ) { ExtTextbox ext = (ExtTextbox) xulTextbox; ext.setVariableSpace( databaseMeta ); } } XulTree[] trees = new XulTree[] { poolParameterTree, clusterParameterTree, optionsParameterTree }; for ( int i = 0; i < trees.length; i++ ) { XulTree xulTree = trees[i]; if ( xulTree != null ) { xulTree.setData( databaseMeta ); } } }
public void setDeckChildIndex() { getControls(); // if pooling selected, check the parameter validity before allowing // a deck panel switch... int originalSelection = ( dialogDeck == null ? -1 : dialogDeck.getSelectedIndex() ); boolean passed = true; if ( originalSelection == 3 ) { passed = checkPoolingParameters(); } if ( passed ) { int selected = deckOptionsBox.getSelectedIndex(); if ( selected < 0 ) { selected = 0; deckOptionsBox.setSelectedIndex( 0 ); } dialogDeck.setSelectedIndex( selected ); } else { dialogDeck.setSelectedIndex( originalSelection ); deckOptionsBox.setSelectedIndex( originalSelection ); } }
protected void getInfo( DatabaseMeta meta ) { getControls();
public void loadAccessData() { getControls();
private void setConnectionSpecificInfo( DatabaseMeta meta ) { getControls();