Package org.eclipse.mylyn.tasks.ui

Examples of org.eclipse.mylyn.tasks.ui.TaskHyperlink


    }

    m = issuePattern.matcher(text);
    while (m.find()) {
      if (m.start() <= textOffset && textOffset <= m.end()) {
        links.add(new TaskHyperlink(buildRegion(lineOffset, m.start(),
            m.end()), repository, m.group(1)));
      }
    }

    return links.toArray(new IHyperlink[links.size()]);
View Full Code Here


      end += regionOffset;

      String issueId = matcher.group(ISSUE_ID_GROUP).trim();

      IRegion region = new Region(start, end - start);
      return new TaskHyperlink(region, repository, issueId);
    }
View Full Code Here

            taskRepository = TasksUi.getRepositoryManager().getRepository(GitHub.CONNECTOR_KIND, repositoryUrl)
          }
        }
        if (taskRepository != null) {
          Region region = createRegion(textOffset, matcher);
          hyperlinks.add(new TaskHyperlink(region, repository, taskId));
        } else if (user != null && project != null) {
          Region region = createRegion(textOffset, matcher);
          String url = GitHub.createGitHubUrl(user, project)+"/issues/issue/"+taskId;
          hyperlinks.add(new URLHyperlink(region, url));
        }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.tasks.ui.TaskHyperlink

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.