|
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.Objectcom.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 ISemanticElementToViewRegistrypublic Iterator iterator()
ISemanticElementToViewRegistry
iterator in interface ISemanticElementToViewRegistrypublic EObject findViewForSemanticElement(EObject semanticElement)
ISemanticElementToViewRegistry
findViewForSemanticElement in interface ISemanticElementToViewRegistrysemanticElement - the semantic element whose view to be found
public void registerSemanticElementToViewMapping(EObject semanticElement,
EObject view)
ISemanticElementToViewRegistry
registerSemanticElementToViewMapping in interface ISemanticElementToViewRegistrysemanticElement - semantic element.view - view object corresponding to the semantic element.public void removeAllRegisterSemanticElementToViewMapping()
ISemanticElementToViewRegistry
removeAllRegisterSemanticElementToViewMapping in interface ISemanticElementToViewRegistrypublic 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 | |||||||||