Class AbstractSelectedSheetsDataPluginWithGOE
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.tools.spreadsheetviewer.AbstractDataPlugin
-
- adams.gui.tools.spreadsheetviewer.AbstractSelectedSheetsDataPlugin
-
- adams.gui.tools.spreadsheetviewer.AbstractSelectedSheetsDataPluginWithGOE
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<AbstractDataPlugin>,SizeOfHandler,Serializable
- Direct Known Subclasses:
Merge
public abstract class AbstractSelectedSheetsDataPluginWithGOE extends AbstractSelectedSheetsDataPlugin
Ancestor for plugins that use a GOE setup on all the panels.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericObjectEditorm_Editorthe GOE editor with the transformer.-
Fields inherited from class adams.gui.tools.spreadsheetviewer.AbstractSelectedSheetsDataPlugin
m_SelectedPanels
-
Fields inherited from class adams.gui.tools.spreadsheetviewer.AbstractDataPlugin
m_CanceledByUser, m_CurrentPanel, m_LastSetup
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractSelectedSheetsDataPluginWithGOE()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected JPanelcreateConfigurationPanel(ApprovalDialog dialog)Creates the panel with the configuration (return null to suppress display).protected booleangetCanChangeClassInDialog()Returns whether the class can be changed in the GOE.protected abstract ObjectgetDefaultValue()Returns the default object to use in the GOE if no last setup is yet available.protected DimensiongetDialogSize()Returns the size of the dialog.protected abstract ClassgetEditorType()Returns the class to use as type (= superclass) in the GOE.protected booleanhasApprovalButton()Returns whether the dialog has an approval button.protected booleanhasCancelButton()Returns whether the dialog has a cancel button.-
Methods inherited from class adams.gui.tools.spreadsheetviewer.AbstractSelectedSheetsDataPlugin
createDialog, createListPanel, doProcess, getAllPanels, process
-
Methods inherited from class adams.gui.tools.spreadsheetviewer.AbstractDataPlugin
canProcess, check, getCanceledByUser, getCurrentPanel, getLastSetup, getMenuIcon, getMenuText, getPlugins, hasLastSetup, isInPlace, process, setCurrentPanel, setLastSetup, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Editor
protected GenericObjectEditor m_Editor
the GOE editor with the transformer.
-
-
Method Detail
-
getEditorType
protected abstract Class getEditorType()
Returns the class to use as type (= superclass) in the GOE.- Returns:
- the class
-
getDefaultValue
protected abstract Object getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.- Returns:
- the object
-
getCanChangeClassInDialog
protected boolean getCanChangeClassInDialog()
Returns whether the class can be changed in the GOE.- Returns:
- true if class can be changed by the user
-
hasApprovalButton
protected boolean hasApprovalButton()
Returns whether the dialog has an approval button.- Overrides:
hasApprovalButtonin classAbstractSelectedSheetsDataPlugin- Returns:
- true if approval button visible
-
hasCancelButton
protected boolean hasCancelButton()
Returns whether the dialog has a cancel button.- Overrides:
hasCancelButtonin classAbstractSelectedSheetsDataPlugin- Returns:
- true if cancel button visible
-
getDialogSize
protected Dimension getDialogSize()
Returns the size of the dialog.- Overrides:
getDialogSizein classAbstractSelectedSheetsDataPlugin- Returns:
- the size
-
createConfigurationPanel
protected JPanel createConfigurationPanel(ApprovalDialog dialog)
Creates the panel with the configuration (return null to suppress display).- Specified by:
createConfigurationPanelin classAbstractSelectedSheetsDataPlugin- Parameters:
dialog- the dialog that is being created- Returns:
- the generated panel, null to suppress
-
-