Skip to content

Commit

Permalink
Properties view shown when editor opened.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommilata committed May 8, 2015
1 parent 840ec28 commit b722f92
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -63,6 +63,16 @@ protected void createDiagramPages() throws PartInitException {
DefinitionLoader.sdef(getClass()).page("DiagramPage"));
addEditorPage(DIAGRAM_PAGE_INDEX, this.schemaDiagram);
preferFlyoutPalette();
showPropertiesView();
}

private void showPropertiesView() {
try {
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.showView("org.eclipse.ui.views.PropertySheet");
} catch (PartInitException e) {
Sapphire.service(LoggingService.class).log(e);
}
}

@Override
Expand Down

0 comments on commit b722f92

Please sign in to comment.