Package org.dawnsci.conversion.ui.pages
Class H5From1DConvertPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.dawb.common.ui.wizard.ResourceChoosePage
org.dawnsci.conversion.ui.pages.H5From1DConvertPage
- All Implemented Interfaces:
IConversionWizardPage,org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
-
Field Summary
FieldsFields inherited from class org.dawb.common.ui.wizard.ResourceChoosePage
overwriteFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateContentAfterFileChoose(org.eclipse.swt.widgets.Composite container) protected voidString[]booleanisOpen()Should open the converted file after the conversion has happened.protected voidChecks the path is ok.protected voidvoidsetContext(IConversionContext context) protected voidsetDataNames(String[] array, org.eclipse.january.metadata.IMetadata imeta, IDataHolder holder) Methods inherited from class org.dawb.common.ui.wizard.ResourceChoosePage
createContentBeforeFileChoose, createControl, createFileChooser, getAbsoluteFilePath, getActiveDatasets, getExpression, getFileExtension, getFileLabel, getIResource, getPath, getSelectedFiles, getSelectedPaths, getSourcePath, handleFileBrowse, handleResourceBrowse, isDirectory, isNewFile, isOverwrite, isPageComplete, isPathEditable, setBrowseToExternalOnly, setButtonsEnabled, setDirectory, setFileChoosingEnabled, setFileExtension, setFileLabel, setNewFile, setOverwrite, setOverwriteVisible, setPageComplete, setPath, setPathEditable, setSelectedFilesMethods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPreviousPage, setTitle, setWizard, toStringMethods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard
-
Field Details
-
nameChoice
protected org.eclipse.swt.custom.CCombo nameChoice -
datasetName
-
-
Constructor Details
-
H5From1DConvertPage
public H5From1DConvertPage()
-
-
Method Details
-
createContentAfterFileChoose
public void createContentAfterFileChoose(org.eclipse.swt.widgets.Composite container) - Overrides:
createContentAfterFileChoosein classResourceChoosePage- Parameters:
container- with a 4-column grid layout
-
getContext
- Specified by:
getContextin interfaceIConversionWizardPage- Returns:
- the context, including any modifications (which includes path changes and the setting of user objects)
-
setContext
- Specified by:
setContextin interfaceIConversionWizardPage- Parameters:
context-
-
isOpen
public boolean isOpen()Description copied from interface:IConversionWizardPageShould open the converted file after the conversion has happened.- Specified by:
isOpenin interfaceIConversionWizardPage- Returns:
-
setAll1DChecked
protected void setAll1DChecked() -
getDataSetNames
- Throws:
Exception
-
setDataNames
protected void setDataNames(String[] array, org.eclipse.january.metadata.IMetadata imeta, IDataHolder holder) -
getSelected
-
pathChanged
protected void pathChanged()Checks the path is ok.- Overrides:
pathChangedin classResourceChoosePage
-