de.uni_paderborn.fujaba.uml.gui
Class FrameDecoratorUMLStoryPattern
java.lang.Object
de.uni_paderborn.fujaba.app.FrameDecorator
de.uni_paderborn.fujaba.uml.gui.FrameDecoratorUMLStoryPattern
- public class FrameDecoratorUMLStoryPattern
- extends FrameDecorator
This class handles the change of the user interface, if a diagram was selected.
- Version:
- $Revision: 1.14 $
- Author:
- $Author: lowende $
| Fields inherited from class de.uni_paderborn.fujaba.app.FrameDecorator |
|
|
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 FrameDecoratorUMLStoryPattern object |
void |
leaveDiagram(ASGDiagram diag)
Checks wether decorator is responsible for the given diagram. |
private void |
setVisibilityOfUserInterface(ASGDiagram diag,
boolean visible)
Sets the visibilityOfUserInterface attribute of the FrameDecoratorUMLStoryPattern object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameDecoratorUMLStoryPattern
public FrameDecoratorUMLStoryPattern()
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
setVisibilityOfUserInterface
private void setVisibilityOfUserInterface(ASGDiagram diag,
boolean visible)
- Sets the visibilityOfUserInterface attribute of the FrameDecoratorUMLStoryPattern object
- Parameters:
diag - The new visibilityOfUserInterface valuevisible - The new visibilityOfUserInterface value
getTreeNode
public javax.swing.tree.DefaultMutableTreeNode getTreeNode(java.util.Enumeration diagEnum)
- Get the treeNode attribute of the FrameDecoratorUMLStoryPattern object
- Specified by:
getTreeNode in class FrameDecorator
- Parameters:
diagEnum - No description provided
- Returns:
- The treeNode value