Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-07-30 03:18:56 -0400
committerHenrik Rentz-Reichert2013-07-30 03:18:56 -0400
commitf144a0ba72e514ae8c1f320e48fa7362a0499ac6 (patch)
tree827755e329827530e647834592a2f4f7b2ac2748 /runtime/org.eclipse.etrice.runtime.java/src/org/eclipse
parentdf41796ef98e6a226591fc04477eeab9c90b672b (diff)
downloadorg.eclipse.etrice-f144a0ba72e514ae8c1f320e48fa7362a0499ac6.tar.gz
org.eclipse.etrice-f144a0ba72e514ae8c1f320e48fa7362a0499ac6.tar.xz
org.eclipse.etrice-f144a0ba72e514ae8c1f320e48fa7362a0499ac6.zip
[runtime.java] shortened the instance path of optional actors
by removing the segment introduced by the OptionalActorInterfaceBase
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.java/src/org/eclipse')
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/OptionalActorInterfaceBase.java7
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/RTSystemProtocol.java6
2 files changed, 13 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/OptionalActorInterfaceBase.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/OptionalActorInterfaceBase.java
index b08123abb..602aa6c7b 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/OptionalActorInterfaceBase.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/OptionalActorInterfaceBase.java
@@ -46,6 +46,13 @@ public abstract class OptionalActorInterfaceBase extends SystemPortOwner impleme
RTSystemPort = new RTSystemConjPort(this, IFITEM_RTSystemPort);
}
+ public String getInstancePath(char delim) {
+ if (getParent()!=null)
+ return getParent().getInstancePath(delim);
+
+ return "";
+ }
+
/**
* Get list of peer paths
*
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/RTSystemProtocol.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/RTSystemProtocol.java
index d26b402c2..ada6e7378 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/RTSystemProtocol.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/RTSystemProtocol.java
@@ -36,6 +36,9 @@ public class RTSystemProtocol {
}
}
+ protected void connectWithPeer() {
+ }
+
@Override
protected void destroy() {
super.destroy();
@@ -48,6 +51,9 @@ public class RTSystemProtocol {
public RTSystemConjPort(IInterfaceItemOwner actor, int localId) {
super(actor, RT_SYSTEM_PORT_NAME, localId);
}
+
+ protected void connectWithPeer() {
+ }
}
}

Back to the top