|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.Visual.GraphicalPicture | +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnEnrichmentGraph
Coopn Enrichment Graph.
Field Summary | |
protected javax.swing.JMenu[] |
specificMenuArg
|
Fields inherited from interface javax.swing.undo.StateEditable |
RCSID |
Constructor Summary | |
|
CoopnEnrichmentGraph(CoopnModule[] modules,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new complete enrichment graph for a specificied list of modules, using an aspect and parameters asked in an interactive dialog. |
protected |
CoopnEnrichmentGraph(CoopnModule[] modules,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenu[] specificMenu,
javax.swing.JMenuItem[] specificHelpMenu,
javax.swing.Action[] specificAction,
CoopnEnv env)
Creates a new enrichment graph for a specificied list of modules, with a specified aspect name.This method is devoted to specific sub-classes of enrichment graphs, so they can do their job. |
|
CoopnEnrichmentGraph(CoopnModule[] modules,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new enrichment graph for a specificied list of modules, with a specified aspect name. |
|
CoopnEnrichmentGraph(CoopnSpec spec,
AspectMgr amgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new complete enrichment graph for a specification, using an aspect and parameters asked in an interactive dialog |
protected |
CoopnEnrichmentGraph(CoopnSpec spec,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
javax.swing.JMenu[] specificMenu,
javax.swing.JMenuItem[] specificHelpMenu,
javax.swing.Action[] specificAction,
CoopnEnv env)
Creates a new enrichment graph for a specification, with a specified name of aspect.This method is devoted to specific sub-classes of enrichment graphs, so they can do their job. |
|
CoopnEnrichmentGraph(CoopnSpec spec,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new enrichment graph for a specification, with a specified name of aspect. |
|
CoopnEnrichmentGraph(java.lang.String[] modules,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new complete enrichment graph for a specificied list of modules, using an aspect and parameters asked in an interactive dialog. |
protected |
CoopnEnrichmentGraph(java.lang.String[] modules,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenu[] specificMenu,
javax.swing.JMenuItem[] specificHelpMenu,
javax.swing.Action[] specificAction,
CoopnEnv env)
Creates a new enrichment graph for a specificied list of modules, with a specified aspect name. |
|
CoopnEnrichmentGraph(java.lang.String[] modules,
java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new enrichment graph for a specificied list of modules, with a specified aspect name. |
|
CoopnEnrichmentGraph(java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs,
AspectMgr amgr,
CoopnMgr cmgr,
javax.swing.JMenuItem[] specificHelpMenu,
CoopnEnv env)
Creates a new enrichment graph for the modules specified in the environment. |
Method Summary | |
void |
dispose()
Leave an enrichment graph. |
boolean |
editAsArcs()
Look if the graph edits as arcs. |
boolean |
editInheritanceArcs()
Look if the graph edits inheritance arcs. |
boolean |
editInstantiationArcs()
Look if the graph edits instantiation arcs. |
boolean |
editMorphismArcs()
Look if the graph edits morphism arcs. |
boolean |
editSubtypeArcs()
Look if the graph edits subtype arcs. |
boolean |
editUseArcs()
Look if the graph edits use arcs. |
boolean |
isComplete()
Look if the graph is complete. |
java.lang.String |
name()
Get the name of the graph. |
GraphicalPicture |
open()
Open an enrichment graph using a dialog to configurate it. |
GraphicalPicture |
open(java.lang.String aspectName)
Open an enrichment graph using a specified aspect name. |
GraphicalPicture |
open(java.lang.String aspectName,
boolean complete,
boolean editUseArcs,
boolean editSubtypeArcs,
boolean editAsArcs,
boolean editInheritanceArcs,
boolean editInstantiationArcs,
boolean editMorphismArcs)
Open an enrichment graph using a specified aspect name. |
boolean |
openPossible()
Look if the picture is able to perform an open. |
PackageMgr |
packageMgr()
Get the package manager used to access the package of the model associated to this picture. |
java.lang.String |
packageName()
Get the name of the package of the model associated to this picture; may be null iff no package. |
boolean |
reOpenPossible()
Look if the picture is able to perform a re-open. |
boolean |
saveAs(java.lang.String aspectName)
Save the aspect of the enrichment graph, as a particular aspect name. |
boolean |
saveAsPossible()
Look if the picture is able to save its aspect under a specified name. |
boolean |
savePossible()
Look if the picture is able to save its aspect. |
javax.swing.Action[] |
specificAction()
Get the specific actions to put in the tool bar. |
javax.swing.JMenuItem[] |
specificEditMenu()
Get the specific edit menu. |
javax.swing.JMenuItem[] |
specificFileMenu()
Get the specific file menu. |
javax.swing.JMenuItem[] |
specificHelpMenu()
Get the specific help menu. |
javax.swing.JMenu[] |
specificMenu()
Get the specific menus. |
javax.swing.JMenuItem[] |
specificViewMenu()
Get the specific view menu. |
java.lang.String |
title()
Get the title of the graph. |
void |
use()
Uses an enrichment graph. |
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.GraphicalPicture |
actionOnMultipleClick, addComponent, boundingBox, componentChanged, components, deselect, export, paint, pointedElement, print, removeComponent, reOpen, restoreState, save, saveAspect, saveAspectAs, saveAspectAsPossible, saveAspectPossible, selectElement, selectInfo, selectLabel, setEditables, specificPictureAcceleratorKey, specificPictureAcceleratorKey2, specificPopup, storeState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JMenu[] specificMenuArg
Constructor Detail |
public CoopnEnrichmentGraph(java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env)
aspectName
- the name of aspect to use; a NULL values
means the default aspect name (if it exists)complete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)editUseArcs
- true iff use arcs are to be editededitSubtypeArcs
- true iff subtype arcs are to be editededitAsArcs
- true iff as arcs are to be editededitInheritanceArcs
- true iff inheritance arcs are to be editededitInstantiationArcs
- true iff instantiation arcs are to be editededitMorphismArcs
- true iff morphism arcs are to be editedamgr
- the aspect managed to use; cannot be nullcmgr
- the coopn manager to use; cannot be nullspecificHelpMenu
- the specific help menuenv
- the environment to use; cannot be nullpublic CoopnEnrichmentGraph(java.lang.String[] modules, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env)
modules
- the list of modulesaspectName
- the name of aspect to use; a NULL values
means the default aspect name (if it exists)complete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)editUseArcs
- true iff use arcs are to be editededitSubtypeArcs
- true iff subtype arcs are to be editededitAsArcs
- true iff as arcs are to be editededitInheritanceArcs
- true iff inheritance arcs are to be editededitInstantiationArcs
- true iff instantiation arcs are to be editededitMorphismArcs
- true iff morphism arcs are to be editedamgr
- the aspect managed to use; cannot be nullcmgr
- the coopn manager to use; cannot be nullspecificHelpMenu
- the specific help menuenv
- the environment to use; cannot be nullprotected CoopnEnrichmentGraph(java.lang.String[] modules, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenu[] specificMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.Action[] specificAction, CoopnEnv env)
modules
- the list of modulesaspectName
- the name of aspect to use; a NULL values
means the default aspect name (if it exists)complete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)editUseArcs
- true iff use arcs are to be editededitSubtypeArcs
- true iff subtype arcs are to be editededitAsArcs
- true iff as arcs are to be editededitInheritanceArcs
- true iff inheritance arcs are to be editededitInstantiationArcs
- true iff instantiation arcs are to be editededitMorphismArcs
- true iff morphism arcs are to be editedamgr
- the aspect managed to use; cannot be nullcmgr
- the coopn manager to use; cannot be nullspecificMenu
- the specific menuspecificHelpMenu
- the specific help menuspecificAction
- the specific toolbar actionsenv
- the environment to use; cannot be nullpublic CoopnEnrichmentGraph(java.lang.String[] modules, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env) throws java.lang.IllegalAccessException
modules
- the list of modulesamgr
- the aspect managed to usecmgr
- the coopn manager to usespecificHelpMenu
- the specific help menuenv
- the environment to usejava.lang.IllegalAccessException
- the user cancelled the dialog.public CoopnEnrichmentGraph(CoopnModule[] modules, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env)
modules
- the list of modulesaspectName
- the name of aspect to use; a NULL values
means the default aspect name (if it exists)complete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)editUseArcs
- true iff use arcs are to be editededitSubtypeArcs
- true iff subtype arcs are to be editededitAsArcs
- true iff as arcs are to be editededitInheritanceArcs
- true iff inheritance arcs are to be editededitInstantiationArcs
- true iff instantiation arcs are to be editededitMorphismArcs
- true iff morphism arcs are to be editedamgr
- the aspect managed to use; cannot be nullcmgr
- the coopn manager to use; cannot be nullspecificHelpMenu
- the specific help menuenv
- the environment to use; cannot be nullprotected CoopnEnrichmentGraph(CoopnModule[] modules, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenu[] specificMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.Action[] specificAction, CoopnEnv env)
modules
- the list of modulesaspectName
- the name of aspect to use; a NULL values
means the default aspect name (if it exists)complete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)editUseArcs
- true iff use arcs are to be editededitSubtypeArcs
- true iff subtype arcs are to be editededitAsArcs
- true iff as arcs are to be editededitInheritanceArcs
- true iff inheritance arcs are to be editededitInstantiationArcs
- true iff instantiation arcs are to be editededitMorphismArcs
- true iff morphism arcs are to be editedamgr
- the aspect managed to use; cannot be nullcmgr
- the coopn manager to use; cannot be nullspecificMenu
- the specific menuspecificHelpMenu
- the specific help menuspecificAction
- the specific toolbar actionsenv
- the environment to use; cannot be nullpublic CoopnEnrichmentGraph(CoopnModule[] modules, AspectMgr amgr, CoopnMgr cmgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env) throws java.lang.IllegalAccessException
modules
- the list of modulesamgr
- the aspect managed to usecmgr
- the coopn manager to usespecificHelpMenu
- the specific help menuenv
- the environment to usejava.lang.IllegalAccessException
- the user cancelled the dialog.public CoopnEnrichmentGraph(CoopnSpec spec, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env)
spec
- the specificationaspectName
- the name of aspect to use; a NULL values
means the default aspect namecomplete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)amgr
- the aspect managed to usespecificHelpMenu
- the specific help menuenv
- the environment to useprotected CoopnEnrichmentGraph(CoopnSpec spec, java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs, AspectMgr amgr, javax.swing.JMenu[] specificMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.Action[] specificAction, CoopnEnv env)
spec
- the specificationaspectName
- the name of aspect to use; a NULL values
means the default aspect namecomplete
- true iff the graph must be complete (i.e.
false iff only the specified modules are to be
edited, true iff all modules taking part to the
definition of the specified modules are to be
edited)amgr
- the aspect managed to usespecificMenu
- the specific menusspecificHelpMenu
- the specific help menuspecificAction
- the specific toolbar actionsenv
- the environment to usepublic CoopnEnrichmentGraph(CoopnSpec spec, AspectMgr amgr, javax.swing.JMenuItem[] specificHelpMenu, CoopnEnv env) throws java.lang.IllegalAccessException
spec
- the specificationamgr
- the aspect managed to usespecificHelpMenu
- the specific help menuenv
- the environment to usejava.lang.IllegalAccessException
- the user cancelled the dialog.Method Detail |
public void use()
use
in class GraphicalPicture
public void dispose()
dispose
in class GraphicalPicture
public java.lang.String packageName()
packageName
in class GraphicalPicture
public PackageMgr packageMgr()
packageMgr
in class GraphicalPicture
public boolean reOpenPossible()
reOpenPossible
in class GraphicalPicture
public boolean openPossible()
openPossible
in class GraphicalPicture
public GraphicalPicture open(java.lang.String aspectName)
open
in class GraphicalPicture
aspectName
- the name of the aspect to usepublic GraphicalPicture open(java.lang.String aspectName, boolean complete, boolean editUseArcs, boolean editSubtypeArcs, boolean editAsArcs, boolean editInheritanceArcs, boolean editInstantiationArcs, boolean editMorphismArcs)
aspectName
- the name of the aspect to usepublic GraphicalPicture open()
public boolean savePossible()
savePossible
in class GraphicalPicture
public boolean saveAsPossible()
saveAsPossible
in class GraphicalPicture
public boolean saveAs(java.lang.String aspectName)
saveAs
in class GraphicalPicture
aspectName
- the name of the aspect to usepublic java.lang.String title()
title
in class GraphicalPicture
public java.lang.String name()
name
in class GraphicalPicture
public boolean isComplete()
public boolean editUseArcs()
public boolean editSubtypeArcs()
public boolean editAsArcs()
public boolean editInheritanceArcs()
public boolean editInstantiationArcs()
public boolean editMorphismArcs()
public javax.swing.JMenuItem[] specificFileMenu()
specificFileMenu
in class GraphicalPicture
public javax.swing.JMenuItem[] specificEditMenu()
specificEditMenu
in class GraphicalPicture
public javax.swing.JMenuItem[] specificViewMenu()
specificViewMenu
in class GraphicalPicture
public javax.swing.JMenuItem[] specificHelpMenu()
specificHelpMenu
in class GraphicalPicture
public javax.swing.JMenu[] specificMenu()
specificMenu
in class GraphicalPicture
public javax.swing.Action[] specificAction()
specificAction
in class GraphicalPicture
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |