public void setEnabled( boolean flag ) { wText.setEnabled( flag ); }
public void setEnabled( boolean flag ) { wText.setEnabled( flag ); }
public void widgetSelected( SelectionEvent arg0 ) { textIDFieldName.setEnabled( buttonOutputIDField.getSelection() ); } } );
private void enableAppend() { wSplitEvery.setEnabled( !wAppendLines.getSelection() ); }
private void enableFields() { wLimitRowsNumber.setEnabled( wLimitRows.getSelection() ); wlLimitRowsNumber.setEnabled( wLimitRows.getSelection() ); } }
private void setTabFlags( Button wMainPath, Label wlInputStep, Text wInputStep, Button wbInputStep, Label wlOutputStep, Text wOutputStep, Button wbOutputStep, Label wlDescription, Text wDescription ) { boolean mainPath = wMainPath.getSelection(); wlInputStep.setEnabled( !mainPath ); wInputStep.setEnabled( !mainPath ); wbInputStep.setEnabled( !mainPath ); wlOutputStep.setEnabled( !mainPath ); wOutputStep.setEnabled( !mainPath ); wbOutputStep.setEnabled( !mainPath ); wlDescription.setEnabled( !mainPath ); wDescription.setEnabled( !mainPath ); }
public void setEnabled( boolean flag ) { wText.setEnabled( flag ); wLabel.setEnabled( flag ); }
public void setEnabled( boolean flag ) { wText.setEnabled( flag ); wLabel.setEnabled( flag ); }
public void setFlags() { wlCountField.setEnabled( wCount.getSelection() ); wCountField.setEnabled( wCount.getSelection() ); }
@Override public void widgetSelected(SelectionEvent e) { if(btnExpire.getSelection()){ labelTTL.setEnabled(true); ttl.setEnabled(true); }else { labelTTL.setEnabled(false); ttl.setEnabled(false); } } });
public void setActiveIgnoreLookup() { if ( wSkipLookup.getSelection() ) { wErrorIgnored.setSelection( false ); wIgnoreFlagField.setText( "" ); } wErrorIgnored.setEnabled( !wSkipLookup.getSelection() ); wlErrorIgnored.setEnabled( !wSkipLookup.getSelection() ); wlIgnoreFlagField.setEnabled( !wSkipLookup.getSelection() && wErrorIgnored.getSelection() ); wIgnoreFlagField.setEnabled( !wSkipLookup.getSelection() && wErrorIgnored.getSelection() ); }
@Override public void widgetSelected(SelectionEvent e) { if(btnExpire.getSelection()){ labelTTL.setEnabled(true); ttl.setEnabled(true); }else { labelTTL.setEnabled(false); ttl.setEnabled(false); } } });
private void enableFields() { wlOrderBy.setEnabled( !wFailMultiple.getSelection() ); wOrderBy.setEnabled( !wFailMultiple.getSelection() ); wCachesize.setEnabled( wCache.getSelection() && !wCacheLoadAll.getSelection() ); wlCachesize.setEnabled( wCache.getSelection() && !wCacheLoadAll.getSelection() ); wCacheLoadAll.setEnabled( wCache.getSelection() ); wlCacheLoadAll.setEnabled( wCache.getSelection() ); wFailMultiple.setEnabled( !wCache.getSelection() ); wlFailMultiple.setEnabled( !wCache.getSelection() ); }
public void setSequence() { boolean seq = ( ci == null ) || ci.supportsSequences(); wSeq.setEnabled( seq ); wlSeqButton.setEnabled( seq ); wSeqButton.setEnabled( seq ); if ( !seq && wSeqButton.getSelection() ) { wAutoinc.setSelection( false ); wSeqButton.setSelection( false ); wTableMax.setSelection( true ); } }
public void setSequence() { boolean seq = ( ci == null ) || ci.supportsSequences(); wSeq.setEnabled( seq ); wlSeqButton.setEnabled( seq ); wSeqButton.setEnabled( seq ); if ( !seq && wSeqButton.getSelection() ) { wAutoinc.setSelection( false ); wSeqButton.setSelection( false ); wTableMax.setSelection( true ); } }
public void enableFields() { wHashfield.setEnabled( wHashcode.getSelection() ); wHashfield.setVisible( wHashcode.getSelection() ); wlHashfield.setEnabled( wHashcode.getSelection() ); }
protected void setFlags() { wlFieldRownr.setEnabled( wAddRownr.getSelection() ); wFieldRownr.setEnabled( wAddRownr.getSelection() ); wlInclFilenameField.setEnabled( wInclFilename.getSelection() ); wInclFilenameField.setEnabled( wInclFilename.getSelection() ); wlFilename.setEnabled( !wAccFilenames.getSelection() ); wFilename.setEnabled( !wAccFilenames.getSelection() ); wbFilename.setEnabled( !wAccFilenames.getSelection() ); }
public void setFlags() { wlSortDir.setEnabled( wAllRows.getSelection() ); wbSortDir.setEnabled( wAllRows.getSelection() ); wSortDir.setEnabled( wAllRows.getSelection() ); wlPrefix.setEnabled( wAllRows.getSelection() ); wPrefix.setEnabled( wAllRows.getSelection() ); wlAddLineNr.setEnabled( wAllRows.getSelection() ); wAddLineNr.setEnabled( wAllRows.getSelection() ); wlLineNrField.setEnabled( wAllRows.getSelection() && wAddLineNr.getSelection() ); wLineNrField.setEnabled( wAllRows.getSelection() && wAddLineNr.getSelection() ); }
private void setBatchSettingsEnabled() { boolean enabled = wUseBatch.getSelection(); wBatchSize.setEnabled( enabled ); wStartMessage.setEnabled( enabled ); wEndMessage.setEnabled( enabled ); }
public void setFlags() { wlIgnoreFlagField.setEnabled( wErrorIgnored.getSelection() ); wIgnoreFlagField.setEnabled( wErrorIgnored.getSelection() ); DatabaseMeta databaseMeta = transMeta.findDatabase( wConnection.getText() ); boolean hasErrorHandling = transMeta.findStep( stepname ).isDoingErrorHandling(); // Can't use batch yet when grabbing auto-generated keys... // Only enable batch option when not returning keys. // If we are on PostgreSQL (and look-a-likes), error handling is not supported. (PDI-366) // boolean enableBatch = wBatch.getSelection() && !transMeta.isUsingUniqueConnections(); enableBatch = enableBatch && !( databaseMeta != null && databaseMeta.supportsErrorHandlingOnBatchUpdates() && hasErrorHandling ); }