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

Examples of org.eclipse.ecf.internal.mylyn.ui.CompoundContextActivationContributionItem.ActivateTaskAction


        return summary;
      }
    });
    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.setText(task.getTaskId());
    itemLink.setImage(labelProvider.getImage(task));
    itemLink.setBackground(parent.getBackground());
    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

Related Classes of org.eclipse.ecf.internal.mylyn.ui.CompoundContextActivationContributionItem.ActivateTaskAction

Copyright © 2018 www.massapicom. 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.