Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobTreeElement.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobTreeElement.java43
1 files changed, 43 insertions, 0 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobTreeElement.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobTreeElement.java
new file mode 100644
index 00000000000..f83abadb25e
--- /dev/null
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobTreeElement.java
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2003 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.ui.internal.progress;
+
+/**
+ * The JobTreeElement is the abstract superclass of items
+ * displayed in the tree.
+ */
+abstract class JobTreeElement {
+
+ /**
+ * Return the parent of this object.
+ * @return Object
+ */
+ abstract Object getParent();
+
+ /**
+ * Return whether or not the receiver has children.
+ * @return boolean
+ */
+ abstract boolean hasChildren();
+
+ /**
+ * Return the children of the receiver.
+ * @return Object[]
+ */
+ abstract Object[] getChildren();
+
+ /**
+ * Return the displayString for the receiver.
+ * @return
+ */
+ abstract String getDisplayString();
+
+}

Back to the top