public interface IDEViewModelRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
register(String ecorePath,
VView viewModel)
Register an ECore with a VView.
|
void |
registerViewModel(VView view,
String viewPath)
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.
|
void register(String ecorePath, VView viewModel)
ecorePath - the path to the ECore connected to the VViewviewModel - the VViewvoid unregister(String registeredEcorePath, VView viewModel)
registeredEcorePath - the path to the ECore connected to the VViewviewModel - the VViewvoid registerViewModelEditor(VView viewModel, ViewModelEditorCallback viewModelEditor) throws IOException
viewModel - the VViewviewModelEditor - the view model editorIOException - if a resource cannot be loadedvoid unregisterViewModelEditor(VView viewModel, ViewModelEditorCallback viewModelEditor)
viewModel - the VViewviewModelEditor - the view model editorCopyright © 2017. All rights reserved.