- Timestamp:
- 12/12/11 16:31:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.common/src/org/openmodelica/modelicaml/common/services/PapyrusServices.java
r1130 r1199 35 35 if (view instanceof ModelExplorerPageBookView) { 36 36 modelExplorerPageBookView = (ModelExplorerPageBookView)view; 37 38 CommonViewer modelExplorerView = ((ModelExplorerView) modelExplorerPageBookView.getAdapter(ModelExplorerView.class)).getCommonViewer(); 39 if (modelExplorerView != null) { 40 return modelExplorerView.getControl().isVisible(); 41 } 37 42 } 38 CommonViewer modelExplorerView = ((ModelExplorerView) modelExplorerPageBookView.getAdapter(ModelExplorerView.class)).getCommonViewer(); 39 if (modelExplorerView != null) { 40 return modelExplorerView.getControl().isVisible(); 41 } 43 42 44 43 45 return false;
Note: See TracChangeset
for help on using the changeset viewer.