Package org.eclipse.mylyn.tasks.core.data

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData


    return attribute==null?null:attribute.getValue();
  }

  private void createAttribute(TaskData data, GitHubTaskAttributes attribute, String value) {
    TaskAttribute attr = data.getRoot().createAttribute(attribute.getId());
    TaskAttributeMetaData metaData = attr.getMetaData();
    metaData.defaults()
      .setType(attribute.getType())
      .setKind(attribute.getKind())
      .setLabel(attribute.getLabel())
      .setReadOnly(attribute.isReadOnly());
View Full Code Here


    }

    private static TaskAttribute createAttribute(TaskAttribute parent,
            GoogleCodeAttribute googleCodeAttribute) {
        TaskAttribute taskAttribute = parent.createAttribute(googleCodeAttribute.getKey());
        TaskAttributeMetaData metaData = taskAttribute.getMetaData();
        metaData.defaults();
        metaData.setReadOnly(googleCodeAttribute.isReadOnly());
        metaData.setKind(googleCodeAttribute.getKind());
        metaData.setLabel(googleCodeAttribute.getLabel());
        metaData.setType(googleCodeAttribute.getType());
        metaData.putValue(GOOGLE_CODE_KEY, googleCodeAttribute.getGoogleCodeKey());
        return taskAttribute;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData

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.