Examples of selectionChanged()


Examples of com.salesforce.ide.ui.actions.RefreshResourceAction.selectionChanged()

                                        if (MessageDialog.openQuestion(Display.getCurrent().getActiveShell(),
                                            Messages.PackageManifestChangeListener_dialog_title, NLS.bind(
                                                Messages.PackageManifestChangeListener_dialog_message, resource
                                                        .getFullPath(), project.getName()))) {
                                            RefreshResourceAction action = new RefreshResourceAction();
                                            action.selectionChanged(null, new StructuredSelection(project));
                                            action.run(null);
                                        }
                                    }

                                } catch (ForceProjectException e) {
View Full Code Here

Examples of com.salesforce.ide.ui.actions.ShowInBrowserAction.selectionChanged()

            }

            ShowInBrowserAction action =
                    (ShowInBrowserAction) ContainerDelegate.getInstance().getBean("showInBrowserAction"); //$NON-NLS-1$
            StructuredSelection structuredSelection = new StructuredSelection(resources.get(index));
            action.selectionChanged(action, structuredSelection);
            action.execute(action);
        } catch (ForceProjectException e1) {
            logger.warn("An error occured while opening the selected resource in the web", e1); //$NON-NLS-1$
        }
    }
View Full Code Here

Examples of com.sun.dtv.lwuit.events.SelectionListener.selectionChanged()

    private void fireSelectionEvent(int oldIndex, int newIndex){
        Enumeration listenersEnum = selectionListeners.elements();
        while(listenersEnum.hasMoreElements()){
            SelectionListener l = (SelectionListener)listenersEnum.nextElement();
            l.selectionChanged(oldIndex, newIndex);
        }
    }
}
View Full Code Here

Examples of com.vlsolutions.swing.docking.event.DockableSelectionListener.selectionChanged()

  }
 
  /*package protected */ void fireDockableSelectionChange(DockableSelectionEvent e){
    for (int i = 0; i < dockableSelectionListeners.size(); i++) {
      DockableSelectionListener listener = dockableSelectionListeners.get(i);
      listener.selectionChanged(e);
    }
  }
 
  public void addDockingActionListener(DockingActionListener listener) {
    if (!dockingActionListeners.contains(listener)){
View Full Code Here

Examples of de.tobject.findbugs.actions.FindBugsAction.selectionChanged()

            return;
        }

        StructuredSelection selection = new StructuredSelection(getProject());
        FindBugsAction action = new FindBugsAction();
        action.selectionChanged(null, selection);
        action.run(null);
    }

    /**
     * Add the nature to the current project. The real work is done by the inner
View Full Code Here

Examples of eu.admire.workbench.visualeditor.wizard.LoadDispelFileAction.selectionChanged()

          test.getClass().getResourceAsStream(fileName), null);
    } catch (CoreException e) {
      fail("Caught exception when creating project: " + e.getMessage());
    }
   
    loadDispel.selectionChanged(a, new StructuredSelection(testFile));
    loadDispel.run(a);
    DiagramEditorInput di = (DiagramEditorInput) PlatformUI.getWorkbench(
        ).getActiveWorkbenchWindow().getActivePage().getActiveEditor(
            ).getEditorInput();
    IEditorPart ep =  PlatformUI.getWorkbench(
View Full Code Here

Examples of net.sourceforge.ganttproject.chart.ChartSelectionListener.selectionChanged()

      mySelectionListeners.remove(listener);
    }
        protected void fireSelectionChanged() {
          for (Iterator listeners = mySelectionListeners.iterator(); listeners.hasNext();) {
            ChartSelectionListener nextListener = (ChartSelectionListener) listeners.next();
            nextListener.selectionChanged();
          }
        }
    }

    protected static class ChartSelectionImpl implements ChartSelection {
View Full Code Here

Examples of nl.nanoworks.nanograph.events.GraphSelectionListener.selectionChanged()

    public void fireSelectionChangedEvent() {
        Iterator iter = selectionListeners.iterator();

        while (iter.hasNext()) {
            GraphSelectionListener l = (GraphSelectionListener) iter.next();
            l.selectionChanged(new GraphSelectionEvent(null, selection));
        }
    }
   
    public void fireSelectionResetEvent() {
        Iterator iter = selectionListeners.iterator();
View Full Code Here

Examples of nl.nanoworks.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, selection));
        }
    }
   
    public void fireSelectionResetEvent() {
        Iterator iter = selectionListeners.iterator();
View Full Code Here

Examples of org.apache.hadoop.eclipse.actions.DFSActionImpl.selectionChanged()

    @Override
    public void run() {
      DFSActionImpl action = new DFSActionImpl();
      action.setActivePart(this, PlatformUI.getWorkbench()
          .getActiveWorkbenchWindow().getActivePage().getActivePart());
      action.selectionChanged(this, site.getStructuredViewer()
          .getSelection());
      action.run(this);
    }

    /* @inheritDoc */
 
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.