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

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData.defaults()


  }

  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());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.