Refine search
@Override public void handleEvent( Event event ) { boolean selection = wPreserveMemory.getSelection(); wSortedList.setEnabled( selection ); wIntegerPair.setEnabled( selection ); } } );
public void setFlags() { wbDirectory.setEnabled( false ); // wDirectory.setEnabled(rep!=null); wlDirectory.setEnabled( false ); // DatabaseMeta dbMeta = jobMeta.findDatabase(wLogconnection.getText()); // wbLogconnection.setEnabled(dbMeta!=null); // wlLogSizeLimit.setEnabled(wLogfield.getSelection()); // wLogSizeLimit.setEnabled(wLogfield.getSelection()); }
private void enableFileSettings() { boolean active = !wYAMLStreamField.getSelection() || ( wYAMLStreamField.getSelection() && wYAMLIsAFile.getSelection() ); wlIgnoreEmptyFile.setEnabled( active ); wIgnoreEmptyFile.setEnabled( active ); wldoNotFailIfNoFile.setEnabled( active ); wdoNotFailIfNoFile.setEnabled( active ); }
protected void setFlags() { // In case there are newlines in fields, we can't load data in parallel // boolean parallelPossible = !wNewlinePossible.getSelection(); wlRunningInParallel.setEnabled( parallelPossible ); wRunningInParallel.setEnabled( parallelPossible ); if ( !parallelPossible ) { wRunningInParallel.setSelection( false ); } }
private void updateAskButton() { if ( wReplaceDB.getSelection() ) { wAskReplaceDB.setEnabled( true ); } else { wAskReplaceDB.setSelection( false ); wAskReplaceDB.setEnabled( false ); } }
private void refreshIncludeCatalog() { if ( !Utils.isEmpty( wschemaname.getText() ) ) { wincludeCatalog.setSelection( false ); wlincludeCatalog.setEnabled( false ); wincludeCatalog.setEnabled( false ); } else { wlincludeCatalog.setEnabled( true ); wincludeCatalog.setEnabled( true ); } }
@Override protected void enableParentFolder() { wlCreateParentFolder.setEnabled( !wFileIsCommand.getSelection() ); wCreateParentFolder.setEnabled( !wFileIsCommand.getSelection() ); }
private void enableExtension() { wProtectSheet.setEnabled( wExtension.getSelectionIndex() == 0 ); if ( wExtension.getSelectionIndex() == 0 ) { wPassword.setEnabled( wProtectSheet.getSelection() ); wProtectedBy.setEnabled( wProtectSheet.getSelection() ); wStreamData.setEnabled( false ); } else { wPassword.setEnabled( false ); wProtectedBy.setEnabled( false ); wStreamData.setEnabled( true ); } }
private void setProtocol() { boolean enable = !LdapProtocol.getName().equals( wProtocol.getText() ); wlsetTrustStore.setEnabled( enable ); wsetTrustStore.setEnabled( enable ); setTrustStore(); }
private void setDateTime() { boolean enable = wAddDate.getSelection() || wAddTime.getSelection() || wSpecifyFormat.getSelection(); wlAddOriginalTimestamp.setEnabled( enable ); wAddOriginalTimestamp.setEnabled( enable ); }
public void widgetSelected( SelectionEvent arg0 ) { wJsonField.setEnabled( wIsJson.getSelection() ); wFields.setEnabled( !wIsJson.getSelection() ); wFields.setVisible( !wIsJson.getSelection() ); wGet.setEnabled( !wIsJson.getSelection() ); model.setChanged(); } } );
private void SpecifyCompareOnlyActivate() { wWildcard.setEnabled( wCompareOnly.getSelectionIndex() == 3 ); wlWildcard.setEnabled( wCompareOnly.getSelectionIndex() == 3 ); wCompareFileContent.setEnabled( wCompareOnly.getSelectionIndex() != 2 ); wlCompareFileContent.setEnabled( wCompareOnly.getSelectionIndex() != 2 ); wCompareFileSize.setEnabled( wCompareOnly.getSelectionIndex() != 2 ); wlCompareFileSize.setEnabled( wCompareOnly.getSelectionIndex() != 2 ); }
private void CheckIncludeSubFolders() { wlMoveEmptyFolders.setEnabled( wIncludeSubfolders.getSelection() ); wMoveEmptyFolders.setEnabled( wIncludeSubfolders.getSelection() ); wlDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); wDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); if ( !wIncludeSubfolders.getSelection() ) { wDoNotKeepFolderStructure.setSelection( false ); wMoveEmptyFolders.setSelection( false ); } }
private void activeSequence() { boolean useDatabase = wUseDatabase.getSelection(); DatabaseMeta databaseMeta = transMeta.findDatabase( wConnection.getText() ); wbSequence.setEnabled( databaseMeta == null ? false : useDatabase && databaseMeta.supportsSequences() ); }
private void CheckIncludeSubFolders() { wlDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); wDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); if ( !wIncludeSubfolders.getSelection() ) { wDoNotKeepFolderStructure.setSelection( false ); } }
private void CheckIncludeSubFolders() { wlDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); wDoNotKeepFolderStructure.setEnabled( wIncludeSubfolders.getSelection() ); if ( !wIncludeSubfolders.getSelection() ) { wDoNotKeepFolderStructure.setSelection( false ); } }
private void ActiveTruncate() { wlTruncate.setEnabled( !wAddCreate.getSelection() ); wTruncate.setEnabled( !wAddCreate.getSelection() ); if ( wAddCreate.getSelection() ) { wTruncate.setSelection( false ); } }
private void setPrevious() { wlFields.setEnabled( !wPrevious.getSelection() ); wFields.setEnabled( !wPrevious.getSelection() ); wFilename.setEnabled( !wPrevious.getSelection() ); wlFilename.setEnabled( !wPrevious.getSelection() ); wbdFilename.setEnabled( !wPrevious.getSelection() ); wbeFilename.setEnabled( !wPrevious.getSelection() ); wbaFilename.setEnabled( !wPrevious.getSelection() ); wbDirectory.setEnabled( !wPrevious.getSelection() ); }
protected void setFlags() { // disable a couple of options when running in Fast Data Dump mode // boolean isNotFastDataDump = !wFastDump.getSelection(); wDisableEnclosureFix.setEnabled( isNotFastDataDump ); wlDisableEnclosureFix.setEnabled( isNotFastDataDump ); wEncoding.setEnabled( isNotFastDataDump ); wlEncoding.setEnabled( isNotFastDataDump ); wPad.setEnabled( isNotFastDataDump ); wlPad.setEnabled( isNotFastDataDump ); }
private void setExecutedSetParams() { wlQuoteString.setEnabled( !wSetParams.getSelection() ); wQuoteString.setEnabled( !wSetParams.getSelection() ); if ( wSetParams.getSelection() ) { wQuoteString.setSelection( !wSetParams.getSelection() ); } }