ca.sqlpower.wabit.swingui.olap.action
Class RemoveHierarchyAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ca.sqlpower.wabit.swingui.olap.action.OlapQueryAction
          extended by ca.sqlpower.wabit.swingui.olap.action.RemoveHierarchyAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class RemoveHierarchyAction
extends OlapQueryAction

See Also:
Serialized Form

Field Summary
 
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
RemoveHierarchyAction(WabitSwingSession session, OlapQuery query, org.olap4j.metadata.Hierarchy hierarchy, org.olap4j.Axis axis)
           
 
Method Summary
protected  void performOlapQueryAction(OlapQuery query)
          Manipulates the query but does not execute it.
 
Methods inherited from class ca.sqlpower.wabit.swingui.olap.action.OlapQueryAction
actionPerformed, getQuery
 
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

RemoveHierarchyAction

public RemoveHierarchyAction(WabitSwingSession session,
                             OlapQuery query,
                             org.olap4j.metadata.Hierarchy hierarchy,
                             org.olap4j.Axis axis)
Method Detail

performOlapQueryAction

protected void performOlapQueryAction(OlapQuery query)
                               throws QueryInitializationException
Description copied from class: OlapQueryAction
Manipulates the query but does not execute it. The OlapQueryAction.actionPerformed(ActionEvent) method will begin background execution of the query after calling this method.

Specified by:
performOlapQueryAction in class OlapQueryAction
Parameters:
query - The query to manipulate. Don't execute it!

This is the same query as returned by OlapQueryAction.getQuery(); it's provided for your convenience.

Throws:
QueryInitializationException - If the query failed to initialize itself as a side effect of manipulating it.


Copyright © 2009. All Rights Reserved.