Examples of selectionChanged()


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

                @Override
                public void run() {
                    Delete delete = new Delete(false);
                    ISelection s = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
                            .getSelectionService().getSelection();
                    delete.selectionChanged(this, s);
                    delete.run(this);
                }
            };
            deleteAction.setActionDefinitionId("org.eclipse.ui.edit.delete"); //$NON-NLS-1$
            IWorkbenchAction actionTemplate = ActionFactory.DELETE.create(PlatformUI.getWorkbench()
View Full Code Here

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

                        IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
                        ISelectionService selectionService = workbenchWindow.getSelectionService();
                        ISelection selection = selectionService.getSelection();
                       
                        Delete delete=new Delete( false );
                        delete.selectionChanged(this, selection);
                        delete.run(this);
                    }
                };
                deleteAction.setActionDefinitionId("org.eclipse.ui.edit.delete"); //$NON-NLS-1$
               
View Full Code Here

Examples of org.maven.ide.eclipse.actions.UpdateSourcesAction.selectionChanged()

      IProject newProject = JadexProjectSupport.createProject(name, location, null);
      BasicNewProjectResourceWizard.updatePerspective(_configurationElement);
     
      final Action action = new Action() {};
    IObjectActionDelegate updateAction = new UpdateSourcesAction(Display.getCurrent().getActiveShell());
    updateAction.selectionChanged(action, new StructuredSelection(newProject));
    updateAction.run(action);
     
    return true;
  }
View Full Code Here

Examples of org.nanograph.interaction.events.GraphSelectionListener.selectionChanged()

  public void fireSelectionChangedEvent() {
    Iterator iter = selectionListeners.iterator();
    while (iter.hasNext()) {
      GraphSelectionListener l = (GraphSelectionListener) iter.next();
      l.selectionChanged(new GraphSelectionEvent(null, nodeSelection));
    }
  }

  public void fireSelectionResetEvent() {
    Iterator iter = selectionListeners.iterator();
View Full Code Here

Examples of org.rssowl.ui.internal.actions.AggregateFolderAction.selectionChanged()

  private void onMouseMiddleClick(TreeItem item) {
    if (item != null && item.getData() instanceof IFolder) {
      AggregateFolderAction action = new AggregateFolderAction();
      action.setActivePart(null, this);
      action.selectionChanged(null, new StructuredSelection(item.getData()));
      action.run(null);
    }
  }

  private void onTreeEvent(Object element, boolean expanded) {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.CopyLinkAction.selectionChanged()

          /* Copy Link */
          manager.add(new Action("Copy Link") {
            @Override
            public void run() {
              IActionDelegate action = new CopyLinkAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public boolean isEnabled() {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.CopyLinkAction.selectionChanged()

          /* Send Link */
          manager.add(new Action("Send Link") {
            @Override
            public void run() {
              IActionDelegate action = new SendLinkAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public boolean isEnabled() {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.CopyLinkAction.selectionChanged()

          /* Update */
          manager.add(new Action("Update") {
            @Override
            public void run() {
              IActionDelegate action = new ReloadTypesAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public ImageDescriptor getImageDescriptor() {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.CreateFilterAction.selectionChanged()

          /* Create Filter */
          manager.add(new Action(Messages.ApplicationActionBarAdvisor_CREATE_FILTER) {
            @Override
            public void run() {
              CreateFilterAction action = new CreateFilterAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public ImageDescriptor getImageDescriptor() {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.CreateFilterAction.selectionChanged()

          /* Update */
          manager.add(new Action(Messages.ApplicationActionBarAdvisor_UPDATE) {
            @Override
            public void run() {
              IActionDelegate action = new ReloadTypesAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public ImageDescriptor getImageDescriptor() {
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.