|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.ide.view.internal.service.IDEViewModelRegistryImpl
public class IDEViewModelRegistryImpl
An implementation of the IDEViewModelRegistry.
| Constructor Summary | |
|---|---|
IDEViewModelRegistryImpl()
|
|
| Method Summary | |
|---|---|
void |
register(String ecorePath,
VView viewModel)
Register an ECore with a VView. |
void |
registerViewModel(VView view,
String path)
Register a view with its absolute path. |
void |
registerViewModelEditor(VView viewModel,
ViewModelEditorCallback viewModelEditor)
Register a view model editor with a view. |
void |
unregister(String registeredEcorePath,
VView viewModel)
Unregister a VView from an ECore. |
void |
unregisterViewModelEditor(VView viewModel,
ViewModelEditorCallback viewModelEditor)
Unregister a view model editor, called when the view model editor closes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IDEViewModelRegistryImpl()
| Method Detail |
|---|
public void register(String ecorePath,
VView viewModel)
IDEViewModelRegistry
register in interface IDEViewModelRegistryecorePath - the path to the ECore connected to the VViewviewModel - the VView
public void unregister(String registeredEcorePath,
VView viewModel)
IDEViewModelRegistry
unregister in interface IDEViewModelRegistryregisteredEcorePath - the path to the ECore connected to the VViewviewModel - the VView
public void registerViewModelEditor(VView viewModel,
ViewModelEditorCallback viewModelEditor)
throws IOException
IDEViewModelRegistry
registerViewModelEditor in interface IDEViewModelRegistryviewModel - the VViewviewModelEditor - the view model editor
IOException - if a resource cannot be loaded
public void unregisterViewModelEditor(VView viewModel,
ViewModelEditorCallback viewModelEditor)
IDEViewModelRegistry
unregisterViewModelEditor in interface IDEViewModelRegistryviewModel - the VViewviewModelEditor - the view model editor
public void registerViewModel(VView view,
String path)
IDEViewModelRegistry
registerViewModel in interface IDEViewModelRegistryview - the VViewpath - the path to the view file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||