ca.sqlpower.architect.swingui.olap.action
Class CreateHierarchyAction
java.lang.Object
javax.swing.AbstractAction
ca.sqlpower.architect.swingui.action.AbstractArchitectAction
ca.sqlpower.architect.swingui.olap.action.CreateOLAPChildAction<DimensionPane,MondrianModel.Hierarchy>
ca.sqlpower.architect.swingui.olap.action.CreateHierarchyAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class CreateHierarchyAction
- extends CreateOLAPChildAction<DimensionPane,MondrianModel.Hierarchy>
Action for adding a hierarchy to the selected dimension.
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateHierarchyAction
public CreateHierarchyAction(ArchitectSwingSession session,
PlayPen olapPlayPen)
addNewChild
protected MondrianModel.Hierarchy addNewChild(DimensionPane pane)
- Description copied from class:
CreateOLAPChildAction
- Creates a new child of type C, sets good default values for its
properties, and adds it to the model as appropriate.
- Specified by:
addNewChild in class CreateOLAPChildAction<DimensionPane,MondrianModel.Hierarchy>
- Returns:
- A new child instance with reasonable default property values,
which has been added into the business model tree in the
appropriate place.
createDataEntryPanel
protected ca.sqlpower.swingui.DataEntryPanel createDataEntryPanel(MondrianModel.Hierarchy model)
- Description copied from class:
CreateOLAPChildAction
- Creates a DataEntryPanel for editing the given child item.
- Specified by:
createDataEntryPanel in class CreateOLAPChildAction<DimensionPane,MondrianModel.Hierarchy>
- Parameters:
model - the item that should be edited in the data entry panel
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca