Package org.eclipse.ecf.internal.mylyn.ui.CompoundContextActivationContributionItem

Examples of org.eclipse.ecf.internal.mylyn.ui.CompoundContextActivationContributionItem.ActivateTaskAction.run()


    elsd.setElements(CompoundContextActivationContributionItem.tasks.toArray());
    if (Window.OK == elsd.open()) {
      ActivateTaskAction action = new CompoundContextActivationContributionItem.ActivateTaskAction();
      action.setShell(shell);
      action.setTask((ITask) elsd.getFirstResult());
      action.run();
    }
  }
}
View Full Code Here


    itemLink.addHyperlinkListener(new HyperlinkAdapter() {
      public void linkActivated(HyperlinkEvent e) {
        ActivateTaskAction action = new CompoundContextActivationContributionItem.ActivateTaskAction();
        action.setShell(getParentShell());
        action.setTask(task);
        action.run();
        close();
      }
    });

    String descriptionText = task.getSummary();
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.