|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDEViewModelRegistry
The View Model registry handling the update of open view model editors.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 editor
IOException
- if a resource cannot be loadedvoid unregisterViewModelEditor(VView viewModel, ViewModelEditorCallback viewModelEditor)
viewModel
- the VViewviewModelEditor
- the view model editorvoid registerViewModel(VView view, String viewPath)
view
- the VViewviewPath
- the path to the view file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |