Package org.eclipse.mylyn.tasks.core.ITask

Examples of org.eclipse.mylyn.tasks.core.ITask.PriorityLevel


    this.configuration = configuration;
  }
 
  @Override
  public PriorityLevel getPriorityLevel() {
    PriorityLevel level =  super.getPriorityLevel();

    //TODO repositoryAttributes (via aspect)
    if (configuration!=null) {
      IssuePriorities priorities = configuration.getIssuePriorities();
     
View Full Code Here


            return null;
        }
    }

    private String getPriority(TaskData taskData) {
        PriorityLevel level = PriorityLevel.fromString(getStringValue(taskData,
                GoogleCodeAttribute.PRIORITY));
        if (level != null) {
            String priority = LabelUtils.convertToGoogle(level);
            if (priority != null) {
                return "Priority-" + priority;
View Full Code Here

                    if (value.startsWith("Type-")) {
                        String type = value.substring("Type-".length());
                        setAttributeValue(data, GoogleCodeAttribute.TYPE, type);
                    } else if (value.startsWith("Priority-")) {
                        String priority = value.substring("Priority-".length());
                        PriorityLevel level = LabelUtils.convertToMylyn(priority);
                        if (level != null) {
                            setAttributeValue(data, GoogleCodeAttribute.PRIORITY, level.toString());
                        }
                    } else if (value.startsWith("Milestone-")) {
                        String milestone = value.substring("Milestone-".length());
                        setAttributeValue(data, GoogleCodeAttribute.MILESTONE, milestone);
                    }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.tasks.core.ITask.PriorityLevel

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.