ca.sqlpower.architect.swingui.olap.action
Class CreateCubeUsageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ca.sqlpower.architect.swingui.action.AbstractArchitectAction
          extended by ca.sqlpower.architect.swingui.olap.action.CreateUsageAction<CubePane,VirtualCubePane>
              extended by ca.sqlpower.architect.swingui.olap.action.CreateCubeUsageAction
All Implemented Interfaces:
SelectionListener, PlayPen.CancelableListener, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class CreateCubeUsageAction
extends CreateUsageAction<CubePane,VirtualCubePane>

Creates a cube usage after the user clicks a CubePane and a VirtualCubePane.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.sqlpower.architect.swingui.olap.action.CreateUsageAction
active
 
Fields inherited from class ca.sqlpower.architect.swingui.action.AbstractArchitectAction
frame, playpen, session
 
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
 
Constructor Summary
CreateCubeUsageAction(ArchitectSwingSession session, PlayPen pp)
           
 
Method Summary
protected  void createUsage(CubePane cp, VirtualCubePane vcp)
          Creates the usage this action is supposed to create, and attaches it to the appropriate place(s) in the business model as well as adding it and attaching it to the playpen.
 
Methods inherited from class ca.sqlpower.architect.swingui.olap.action.CreateUsageAction
actionPerformed, cancel, itemDeselected, itemSelected
 
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
 

Constructor Detail

CreateCubeUsageAction

public CreateCubeUsageAction(ArchitectSwingSession session,
                             PlayPen pp)
Method Detail

createUsage

protected void createUsage(CubePane cp,
                           VirtualCubePane vcp)
Description copied from class: CreateUsageAction
Creates the usage this action is supposed to create, and attaches it to the appropriate place(s) in the business model as well as adding it and attaching it to the playpen.

Specified by:
createUsage in class CreateUsageAction<CubePane,VirtualCubePane>
Parameters:
cp - The pane of type P1 that the user clicked
vcp - The pane of type P2 that the user clicked


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca