@Override
 public void run() {
   PortalExplorerTreeView view = PortalExplorerTreeView.getPortalExploerTreeView(null);
   try {
     if (view != null) view.deleteSelectManagerAppsTreeNode();
   } catch (Exception e) {
     Shell shell = new Shell(Display.getCurrent());
     String title = PortalProjConstants.DEL_MANAGERAPPS;
     String message = e.getMessage();
     MessageDialog.openError(shell, title, message);
   }
 }
Beispiel #2
0
 /** 双击鼠标事件 */
 public void mouseDoubleClick() {
   PortalExplorerTreeView view = PortalExplorerTreeView.getPortalExploerTreeView(null);
   view.openPortletEditor(this);
 }