Log4j 0.9d

pl.psnc.expres.wfm.action
Class WfmAbstractAction

java.lang.Object
  extended by LocalizedAbstractAction
      extended by pl.psnc.expres.wfm.action.WfmAbstractAction
All Implemented Interfaces:
IActionGraphDecorator
Direct Known Subclasses:
CloseAppAction, CloseScenarioAction, NewScenarioAction, OpenFileAction, SaveFileAction, SaveFileAsAction, ScenarioPropertiesAction, SubmitWorkflowAction, WelcomePaneAction

public abstract class WfmAbstractAction
extends LocalizedAbstractAction
implements IActionGraphDecorator

WfmAbstractAction class - provides default implementations for the JFC Action interface used in the WFM application. All string values are internationalised.

Author:
Dominik Stoklosa (~osa~)

Field Summary
protected  JMainFrame mainFrame
          Instance of JMainFrame
 
Constructor Summary
WfmAbstractAction(String nameKey, String iconPath, String description)
          Define an Action Object with a specified action name, icon and short description.
 
Method Summary
 String getBundle()
           
 CustomGraph getCurrentGraph()
          Return an instance of the current Scenario Graph for the current Graph Editor.
 org.jgraph.graph.GraphLayoutCache getCurrentGraphLayoutCache()
          Get the current Graph Layout Cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainFrame

protected JMainFrame mainFrame
Instance of JMainFrame

Constructor Detail

WfmAbstractAction

public WfmAbstractAction(String nameKey,
                         String iconPath,
                         String description)
Define an Action Object with a specified action name, icon and short description.

Parameters:
nameKey - name of the action
iconPath - the icon for the current action
description - action short description
Method Detail

getBundle

public String getBundle()

getCurrentGraph

public CustomGraph getCurrentGraph()
                            throws GraphException
Return an instance of the current Scenario Graph for the current Graph Editor.

Specified by:
getCurrentGraph in interface IActionGraphDecorator
Returns:
instance of the current Scenario Graph for the current Graph
Throws:
GraphException

getCurrentGraphLayoutCache

public org.jgraph.graph.GraphLayoutCache getCurrentGraphLayoutCache()
                                                             throws GraphException
Get the current Graph Layout Cache

Specified by:
getCurrentGraphLayoutCache in interface IActionGraphDecorator
Returns:
current Graph Layout Cache
Throws:
GraphException

Log4j 0.9d

Copyright 2003 by VLAB Dominik Stoklosa.