|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--venice.Command | +--venice.OpenPackageCommand
Opens the selected packages. This means that all their children will become visible and all composite relationships in this package will be opened and the contents of those composite relationships will be put back in the visualization.
Fields inherited from class venice.Command |
stAppModule |
Constructor Summary | |
OpenPackageCommand()
|
Method Summary | |
static void |
decomposeVRelationship(VRelationship inRel)
Decomposes a composite VRelationship. |
void |
execute()
This method goes through the currently selected nodes from visualization and does the openPackage operation on all VPackage
instances. |
static void |
openPackage(VPackage inPackage)
This method opens the given VPackage .
|
Methods inherited from class venice.Command |
getAppModule, setAppModule |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public OpenPackageCommand()
Method Detail |
public void execute()
openPackage
operation on all VPackage
instances.execute
in class Command
public static void openPackage(VPackage inPackage)
VPackage
.
Opening means showing all children and moving all composite relationships
down from the package level.
The operation itself is described below as pseudo code.
openPackage(inPackage) for each inPackage.child as myChild myChild.show iterate inPackage.mCompositeRelationshipList as myElement iterate myElement as myRel myRel.show inPackage.removeFromCompositeRelationships(myRel) inPackage.setShowContent(true)
inPackage
- the package to openpublic static void decomposeVRelationship(VRelationship inRel)
inRel
- the composite relationship to decompose
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |