|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.systems.application.visual.editor.commands.SemanticElementToViewRegistry
public class SemanticElementToViewRegistry
This class maintains 'semantic element to view' map so that required views can be retrieved.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SemanticElementToViewRegistry()
Constructor. |
Method Summary | |
---|---|
void |
dispose()
Dispose the storage. |
EObject |
findViewForSemanticElement(EObject semanticElement)
Find the view for given semanticElement. |
Iterator |
iterator()
Return iterator for mapping storage. |
void |
registerSemanticElementToViewMapping(EObject semanticElement,
EObject view)
Register a semantic element to view mapping. |
void |
removeAllRegisterSemanticElementToViewMapping()
Reomve all semantic element to view mapping entries. |
void |
unRegisterSemanticElementToViewMapping(EObject semanticElement)
Remove view mapping for specified semantic element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
Constructor Detail |
---|
public SemanticElementToViewRegistry()
Method Detail |
---|
public void dispose()
ISemanticElementToViewRegistry
dispose
in interface ISemanticElementToViewRegistry
public Iterator iterator()
ISemanticElementToViewRegistry
iterator
in interface ISemanticElementToViewRegistry
public EObject findViewForSemanticElement(EObject semanticElement)
ISemanticElementToViewRegistry
findViewForSemanticElement
in interface ISemanticElementToViewRegistry
semanticElement
- the semantic element whose view to be found
public void registerSemanticElementToViewMapping(EObject semanticElement, EObject view)
ISemanticElementToViewRegistry
registerSemanticElementToViewMapping
in interface ISemanticElementToViewRegistry
semanticElement
- semantic element.view
- view object corresponding to the semantic element.public void removeAllRegisterSemanticElementToViewMapping()
ISemanticElementToViewRegistry
removeAllRegisterSemanticElementToViewMapping
in interface ISemanticElementToViewRegistry
public void unRegisterSemanticElementToViewMapping(EObject semanticElement)
ISemanticElementToViewRegistry
unRegisterSemanticElementToViewMapping
in interface ISemanticElementToViewRegistry
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |