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

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttribute.removeValue()


  }
 
  private boolean markForRemove(String userId) {
    TaskAttribute attribute = getTaskAttribute().getAttribute(RedmineAttribute.WATCHERS_ADD.getTaskKey());
    if(attribute!=null && attribute.getValues().contains(userId)) {
      attribute.removeValue(userId);
      return true;
    } else {
      attribute = getTaskAttribute().getAttribute(RedmineAttribute.WATCHERS_REMOVE.getTaskKey());
      if (attribute!=null && !attribute.getValues().contains(userId)) {
        attribute.addValue(userId);
View Full Code Here


  }
 
  private void unmarkFromRemove(String userId) {
    TaskAttribute attribute = getTaskAttribute().getAttribute(RedmineAttribute.WATCHERS_REMOVE.getTaskKey());
    if (attribute!=null && attribute.getValues().contains(userId)) {
      attribute.removeValue(userId);
    }
   
  }
 
  private void updateMarker() {
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.