Class SaveAs
- java.lang.Object
-
- adams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<T,M,C>
-
- adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
-
- adams.gui.visualization.spreadsheet.containerlistpopup.SaveAs
-
- All Implemented Interfaces:
Serializable
public class SaveAs extends AbstractContainerListPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
Allows the saving of an instance container.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer
AbstractContainerListPopupCustomizer.Context<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>
-
-
Constructor Summary
Constructors Constructor Description SaveAs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(AbstractContainerListPopupCustomizer.Context<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer> context, JPopupMenu menu)
Returns a popup menu for the table of the container list.String
getGroup()
The group this customizer belongs to.String
getName()
The name.boolean
handles(DataContainerPanelWithContainerList<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer> panel)
Checks whether this action can handle the panel.-
Methods inherited from class adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer
createContext
-
-
-
-
Method Detail
-
getName
public String getName()
The name.- Specified by:
getName
in classAbstractPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
- Returns:
- the name
-
getGroup
public String getGroup()
The group this customizer belongs to.- Specified by:
getGroup
in classAbstractPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
- Returns:
- the group
-
handles
public boolean handles(DataContainerPanelWithContainerList<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer> panel)
Checks whether this action can handle the panel.- Specified by:
handles
in classAbstractPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
- Parameters:
panel
- the panel to check- Returns:
- true if handled
-
customize
public void customize(AbstractContainerListPopupCustomizer.Context<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer> context, JPopupMenu menu)
Returns a popup menu for the table of the container list.- Specified by:
customize
in classAbstractContainerListPopupCustomizer<SpreadSheetRow,SpreadSheetRowContainerManager,SpreadSheetRowContainer>
- Parameters:
context
- the contextmenu
- the popup menu to customize
-
-