Examples of selectionChanged()


Examples of org.eclipse.ui.actions.OpenFileAction.selectionChanged()

      @SuppressWarnings("synthetic-access")
      public void run() {
        okPressed();
      }
    };
    openFileAction.selectionChanged(selectedItems);
    if (!openFileAction.isEnabled()) {
      return;
    }
    menuManager.add(new Separator());
    menuManager.add(openFileAction);
View Full Code Here

Examples of org.eclipse.ui.actions.SelectionListenerAction.selectionChanged()

    // Javadoc inherited
    public void run() {
        // By default, delegate to the underlying action, using the current
        // selection
        SelectionListenerAction underlyingAction = getUnderlyingAction();
        underlyingAction.selectionChanged(getStructuredSelection());
        underlyingAction.run();
    }
}
View Full Code Here

Examples of org.eclipse.ui.views.properties.IPropertySheetPage.selectionChanged()

            p.init(new PageSite(viewSite));
          }
        }
      }
      if (selection != null) {
        selectionPage.selectionChanged(part, selection);
      }

    }
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged()

        }
      });

      annotationsTable.addSelectionChangedListener(new ISelectionChangedListener() {
        public void selectionChanged(SelectionChangedEvent event) {
          propertySheet.selectionChanged(null, event.getSelection());
        }
      });

      final FormLayout form = new FormLayout();
      annotationsComposite.setLayout(form);
View Full Code Here

Examples of org.eclipse.wst.jsdt.web.ui.SetupProjectsWizzard.selectionChanged()

            // run the JSDT action for adding the JS nature
            if (addJavaScriptSupport == 0 && project != null) {
              SetupProjectsWizzard wiz = new SetupProjectsWizzard();
              wiz.setActivePart(null, this.getTextEditor());
              wiz.selectionChanged(null, new StructuredSelection(
                  project));
              wiz.run(null);
            }
            return;
          }
View Full Code Here

Examples of org.junithelper.plugin.action.Force3TestCaseAction.selectionChanged()

    }

    public Object execute(ExecutionEvent event) throws ExecutionException {
        ISelection selection = HandlerUtil.getCurrentSelection(event);
        Force3TestCaseAction action = new Force3TestCaseAction();
        action.selectionChanged(null, selection);
        action.run(null);
        return null;
    }
}
View Full Code Here

Examples of org.junithelper.plugin.action.Force4TestCaseAction.selectionChanged()

    }

    public Object execute(ExecutionEvent event) throws ExecutionException {
        ISelection selection = HandlerUtil.getCurrentSelection(event);
        Force4TestCaseAction action = new Force4TestCaseAction();
        action.selectionChanged(null, selection);
        action.run(null);
        return null;
    }

}
View Full Code Here

Examples of org.junithelper.plugin.action.OpenTestCaseAction.selectionChanged()

    }

    public Object execute(ExecutionEvent event) throws ExecutionException {
        ISelection selection = HandlerUtil.getCurrentSelection(event);
        OpenTestCaseAction action = new OpenTestCaseAction();
        action.selectionChanged(null, selection);
        action.run(null);
        return null;
    }

}
View Full Code Here

Examples of org.junithelper.plugin.action.OpenTestTargetAction.selectionChanged()

    }

    public Object execute(ExecutionEvent event) throws ExecutionException {
        ISelection selection = HandlerUtil.getCurrentSelection(event);
        OpenTestTargetAction action = new OpenTestTargetAction();
        action.selectionChanged(null, selection);
        action.run(null);
        return null;
    }

}
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.actions.Delete.selectionChanged()

                @Override
                public void run() {
                    final ISelection selection = getDeleteSelection();
                    if (!selection.isEmpty()) {
                        final Delete delete = new Delete(false);
                        delete.selectionChanged(this, selection);
                        delete.run(this);
                    }
                }
            };
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.