Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectItem.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectItem.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectItem.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectItem.java
new file mode 100644
index 000000000..dcdf9923b
--- /dev/null
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectItem.java
@@ -0,0 +1,41 @@
+package org.eclipse.debug.internal.ui;
+
+/*
+ * Licensed Materials - Property of IBM,
+ * WebSphere Studio Workbench
+ * (c) Copyright IBM Corp 2001
+ */
+
+import org.eclipse.debug.core.model.IValue;
+import org.eclipse.core.runtime.PlatformObject;
+
+
+public class InspectItem extends PlatformObject {
+
+ protected String fLabel;
+ protected IValue fValue;
+
+
+ public InspectItem(String label, IValue value) {
+ fLabel = label;
+ fValue = value;
+ }
+
+ public String getLabel() {
+ return fLabel;
+ }
+
+ public IValue getValue() {
+ return fValue;
+ }
+
+ /**
+ * @see IAdaptable
+ */
+ public Object getAdapter(Class adapter) {
+ if (adapter == InspectItem.class) {
+ return this;
+ }
+ return super.getAdapter(adapter);
+ }
+} \ No newline at end of file

Back to the top