de.uni_paderborn.fujaba.uml.gui
Class FrameDecoratorUMLStatechart

java.lang.Object
  extended byde.uni_paderborn.fujaba.app.FrameDecorator
      extended byde.uni_paderborn.fujaba.uml.gui.FrameDecoratorUMLStatechart

public class FrameDecoratorUMLStatechart
extends FrameDecorator

This class handles the change of the user interface, if a diagram was selected.

Version:
$Revision: 1.18 $
Author:
$Author: lowende $

Constructor Summary
FrameDecoratorUMLStatechart()
           
 
Method Summary
 void enterDiagram(ASGDiagram diag)
          Checks wether decorator is responsible for the given diagram.
 javax.swing.tree.DefaultMutableTreeNode getTreeNode(java.util.Enumeration diagEnum)
          Get the treeNode attribute of the FrameDecoratorUMLStatechart object
 void leaveDiagram(ASGDiagram diag)
          Checks wether decorator is responsible for the given diagram.
 
Methods inherited from class de.uni_paderborn.fujaba.app.FrameDecorator
getDestTabTitle, getFrameMain, getTreeCellRenderer, getTreeNode, removeYou, setFrameMain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameDecoratorUMLStatechart

public FrameDecoratorUMLStatechart()
Method Detail

enterDiagram

public void enterDiagram(ASGDiagram diag)
Checks wether decorator is responsible for the given diagram. Changes the visibility of menus/toolbars. Called, if diagram is entered.

Specified by:
enterDiagram in class FrameDecorator
Parameters:
diag - No description provided

leaveDiagram

public void leaveDiagram(ASGDiagram diag)
Checks wether decorator is responsible for the given diagram. Changes the visibility of menus/toolbars. Called, if diagram is entered.

Specified by:
leaveDiagram in class FrameDecorator
Parameters:
diag - No description provided

getTreeNode

public javax.swing.tree.DefaultMutableTreeNode getTreeNode(java.util.Enumeration diagEnum)
Get the treeNode attribute of the FrameDecoratorUMLStatechart object

Specified by:
getTreeNode in class FrameDecorator
Parameters:
diagEnum - No description provided
Returns:
The treeNode value