Class AbstractSelectedTrailsFilterWithGOE
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<TrailPanel>
-
- adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
-
- adams.gui.visualization.trail.plugins.AbstractSelectedTrailsViewerPlugin
-
- adams.gui.visualization.trail.plugins.AbstractSelectedTrailsFilter
-
- adams.gui.visualization.trail.plugins.AbstractSelectedTrailsFilterWithGOE
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter,adams.core.SizeOfHandler,Serializable
public abstract class AbstractSelectedTrailsFilterWithGOE extends AbstractSelectedTrailsFilter
Ancestor for trail filters that process the selected trails using a setup from aGenericObjectEditor.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected adams.gui.goe.GenericObjectEditorm_Editorthe GOE editor with the transformer.-
Fields inherited from class adams.gui.visualization.trail.plugins.AbstractSelectedTrailsFilter
m_FilterError
-
Fields inherited from class adams.gui.visualization.trail.plugins.AbstractSelectedTrailsViewerPlugin
m_SelectedPanels
-
-
Constructor Summary
Constructors Constructor Description AbstractSelectedTrailsFilterWithGOE()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected JPanelcreateConfigurationPanel(adams.gui.dialog.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 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.visualization.trail.plugins.AbstractSelectedTrailsFilter
canExecute, filter, process
-
Methods inherited from class adams.gui.visualization.trail.plugins.AbstractSelectedTrailsViewerPlugin
createDialog, createListPanel, doExecute, getAllPanels, getDialogSize, process, processFinish, processInit
-
Methods inherited from class adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
doLog
-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
createLogEntry, execute, getCanceledByUser, getCaption, getIcon, getIconName, getLastSetup, getMenu, hasLastSetup, log, setLastSetup
-
-
-
-
Method Detail
-
hasApprovalButton
protected boolean hasApprovalButton()
Returns whether the dialog has an approval button.- Overrides:
hasApprovalButtonin classAbstractSelectedTrailsViewerPlugin- Returns:
- true if approval button visible
-
hasCancelButton
protected boolean hasCancelButton()
Returns whether the dialog has a cancel button.- Overrides:
hasCancelButtonin classAbstractSelectedTrailsViewerPlugin- Returns:
- true if cancel button visible
-
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
-
createConfigurationPanel
protected JPanel createConfigurationPanel(adams.gui.dialog.ApprovalDialog dialog)
Creates the panel with the configuration (return null to suppress display).- Specified by:
createConfigurationPanelin classAbstractSelectedTrailsViewerPlugin- Parameters:
dialog- the dialog that is being created- Returns:
- the generated panel, null to suppress
-
-