|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.layer.UserLayer
Class for validate the user proposal for the layer. The dependencies in the real project are compared to the layer definitions given by the user. If there is a 'bad' dependency, the user is warned.
Constructor Summary | |
UserLayer(java.io.File layerDef,
RawModel model,
javax.swing.JMenu menu)
Constructor - Initialize the file with theuser definitions. |
Method Summary | |
void |
checkLayers()
Parses the user defined layer file and compares the layers to the real dependencies. |
java.util.ArrayList |
getViolatingEdges()
Get an ArrayList of all layering violating edges. |
void |
reference(Selection select)
References the Selection interface for notify the other
views about changing selections. |
void |
selectLayer(java.lang.String layer)
Selects the nodes of the specified layer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserLayer(java.io.File layerDef, RawModel model, javax.swing.JMenu menu)
layerDef
- File containing the user layer definitons.model
- Model for getting the RawModel
.menu
- Menu for the layer list.Method Detail |
public void checkLayers()
GraphView
.
public java.util.ArrayList getViolatingEdges()
ArrayList
valuepublic void reference(Selection select)
Selection
interface for notify the other
views about changing selections.
select
- Selection interface.public void selectLayer(java.lang.String layer)
layer
- Layer name of the layer to select.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |