Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/AbstractCategory.java')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/AbstractCategory.java60
1 files changed, 60 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/AbstractCategory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/AbstractCategory.java
new file mode 100644
index 000000000..23c823b42
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/AbstractCategory.java
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2004 - 2005 University Of British Columbia and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * University Of British Columbia - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.mylar.tasks;
+
+import org.eclipse.swt.graphics.Image;
+
+/**
+ * @author Ken Sueda
+ */
+public class AbstractCategory implements ITaskListElement {
+
+ private String priority = "";
+ private String description = "";
+ private String handle = "";
+
+ public AbstractCategory(String description) {
+ this.description = description;
+ }
+
+ public Image getTypeIcon() {
+ return null;
+ }
+
+ public String getPriority() {
+ return priority;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public String getHandle() {
+ return handle;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public void setHandle(String handle) {
+ this.handle = handle;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+
+ public Image getStatusIcon() {
+ return null;
+ }
+}

Back to the top