Package org.eclipse.mylyn.internal.tasks.ui

Examples of org.eclipse.mylyn.internal.tasks.ui.TaskListHyperlink


    final Label notificationLabelIcon = new Label(notificationComposite, SWT.LEAD);
    notificationLabelIcon.setBackground(parent.getBackground());
    notificationLabelIcon.setImage(CommonImages.getImage(CommonImages.OVERLAY_SYNC_INCOMMING_NEW));

    final TaskListHyperlink itemLink = new TaskListHyperlink(notificationComposite, SWT.BEGINNING | SWT.WRAP | SWT.NO_FOCUS);
    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();
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.internal.tasks.ui.TaskListHyperlink

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.