Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/tables/properties/NodePropertiesTableTableNode.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/tables/properties/NodePropertiesTableTableNode.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/tables/properties/NodePropertiesTableTableNode.java b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/tables/properties/NodePropertiesTableTableNode.java
new file mode 100644
index 000000000..f5e3ba1bc
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/tables/properties/NodePropertiesTableTableNode.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Wind River Systems, Inc. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.ui.tables.properties;
+
+import org.eclipse.core.runtime.Assert;
+import org.eclipse.core.runtime.PlatformObject;
+
+/**
+ * Immutable representation of a table node.
+ */
+public final class NodePropertiesTableTableNode extends PlatformObject {
+ /**
+ * The node name.
+ */
+ public final String name;
+
+ /**
+ * The node value.
+ */
+ public final String value;
+
+ /**
+ * Constructor.
+ *
+ * @param name The node name. Must not be <code>null</code>.
+ * @param value The node value. Must not be <code>null</code>.
+ */
+ public NodePropertiesTableTableNode(String name, String value) {
+ Assert.isNotNull(name);
+ Assert.isNotNull(value);
+
+ this.name = name;
+ this.value = value;
+ }
+}

Back to the top