1 package org.simantics.district.selection.ui.handlers;
3 import org.eclipse.e4.core.di.annotations.CanExecute;
4 import org.eclipse.e4.core.di.annotations.Execute;
5 import org.eclipse.e4.ui.workbench.modeling.ESelectionService;
6 import org.simantics.ui.workbench.e4.E4WorkbenchUtils;
8 public class OpenElementSelectorTable {
10 private static final String VIEW_ID = "org.simantics.diagram.selection.ui.elementSelectionView";
13 public boolean canExecute(ESelectionService selectionService) {
18 public void openPropertyTable(ESelectionService selectionService) {
19 E4WorkbenchUtils.openAndShowPart(VIEW_ID);