diff options
author | Uwe Stieber | 2012-02-19 16:45:27 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-02-19 16:45:27 +0000 |
commit | b953bce70507af630a13163d6b82868f9b5e7711 (patch) | |
tree | de7baf9edefb6b9d3ae816ce9cb22506bea5e4cf /target_explorer/plugins/org.eclipse.tcf.te.runtime.services | |
parent | 71bd059af3fb739c3a2ba6859e5b6a94243ec905 (diff) | |
download | org.eclipse.tcf-b953bce70507af630a13163d6b82868f9b5e7711.tar.gz org.eclipse.tcf-b953bce70507af630a13163d6b82868f9b5e7711.tar.xz org.eclipse.tcf-b953bce70507af630a13163d6b82868f9b5e7711.zip |
Target Explorer: Continued launch context selector work
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IPropertiesAccessService.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IPropertiesAccessService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IPropertiesAccessService.java index 29b1de9bc..f26b29b67 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IPropertiesAccessService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IPropertiesAccessService.java @@ -14,8 +14,8 @@ import java.util.Map; /**
* Properties access service.
* <p>
- * Allows generic access to properties of a given context without having
- * to know all the details and limitations for accessing the desired properties.
+ * Allows generic access to properties of a given context without having to know all the details and
+ * limitations for accessing the desired properties.
*/
public interface IPropertiesAccessService extends IService {
@@ -40,8 +40,8 @@ public interface IPropertiesAccessService extends IService { public Map<String, String> getTargetAddress(Object context);
/**
- * Returns the property value stored under the given property key. If the property
- * does not exist, <code>null</code> is returned.
+ * Returns the property value stored under the given property key. If the property does not
+ * exist, <code>null</code> is returned.
*
* @param context The context to get the property from. Must not be <code>null</code>.
* @param key The property key. Must not be <code>null</code>.
@@ -49,4 +49,12 @@ public interface IPropertiesAccessService extends IService { * @return The stored property value or <code>null</code>.
*/
public Object getProperty(Object context, String key);
+
+ /**
+ * Returns the direct parent node of the given context object.
+ *
+ * @param context The context to get the parent from. Must not be <code>null</code>.
+ * @return The direct parent node or <code>null</code>.
+ */
+ public Object getParent(Object context);
}
|