summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-07-10 11:00:13 (EDT)
committerCarsten Drossel2008-07-10 11:00:13 (EDT)
commit1d3664d84d50833bfbe5d1f6c6333fa7fb82abb7 (patch)
tree5cf4dc77f217b92117059e5cb9c9ceb1e0ed3063
parentbc74694d23621a7cf6a8bf39197993586441df78 (diff)
downloadorg.eclipse.riena-1d3664d84d50833bfbe5d1f6c6333fa7fb82abb7.zip
org.eclipse.riena-1d3664d84d50833bfbe5d1f6c6333fa7fb82abb7.tar.gz
org.eclipse.riena-1d3664d84d50833bfbe5d1f6c6333fa7fb82abb7.tar.bz2
added settable presentationId
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
index c9f26b9..cd194ff 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
@@ -43,6 +43,7 @@ import org.eclipse.riena.navigation.common.TypecastingObject;
public abstract class NavigationNode<S extends INavigationNode<C>, C extends INavigationNode<?>, L extends INavigationNodeListener<S, C>>
extends TypecastingObject implements INavigationNode<C>, INavigationNodeListenerable<S, C, L> {
+ private String presentationId;
private State state;
private String label;
private String icon;
@@ -786,8 +787,12 @@ public abstract class NavigationNode<S extends INavigationNode<C>, C extends INa
* @see org.eclipse.riena.navigation.INavigationNode#getPresentationId()
*/
public String getPresentationId() {
- // TODO Auto-generated method stub
- return null;
+ return presentationId;
+ }
+
+ public void setPresentationId(String presentationId) {
+ // TODO set via constructor, remove setter
+ this.presentationId = presentationId;
}
}