Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-07-23 08:13:10 +0000
committerHenrik Rentz-Reichert2013-07-23 08:14:23 +0000
commit6da86dfabe8cae3f9e764b3b6bf31ba52077da6f (patch)
tree3ff5e4254041d6c1b0f5ed35bf60c795ffc4a842 /plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
parent61827a255e062f27954b7e50ed6160d052399940 (diff)
downloadorg.eclipse.etrice-6da86dfabe8cae3f9e764b3b6bf31ba52077da6f.tar.gz
org.eclipse.etrice-6da86dfabe8cae3f9e764b3b6bf31ba52077da6f.tar.xz
org.eclipse.etrice-6da86dfabe8cae3f9e764b3b6bf31ba52077da6f.zip
manual revert to the contents of 19.7.2013, commit 70f0f87
this discards the changes introduced with merge 54c56bd
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
index 7a961d4be..849aadf50 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
@@ -68,7 +68,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
import org.eclipse.etrice.runtime.java.messaging.Message;
import org.eclipse.etrice.runtime.java.modelbase.EventMessage;
import org.eclipse.etrice.runtime.java.modelbase.EventWithDataMessage;
- import org.eclipse.etrice.runtime.java.modelbase.IInterfaceItemOwner;
+ import org.eclipse.etrice.runtime.java.modelbase.IEventReceiver;
import org.eclipse.etrice.runtime.java.modelbase.InterfaceItemBase;
import org.eclipse.etrice.runtime.java.modelbase.PortBase;
import org.eclipse.etrice.runtime.java.modelbase.ReplicatedPortBase;
@@ -119,10 +119,10 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
«pclass.userCode.userCode»
«ENDIF»
// constructors
- public «portClassName»(IInterfaceItemOwner actor, String name, int localId) {
+ public «portClassName»(IEventReceiver actor, String name, int localId) {
this(actor, name, localId, 0);
}
- public «portClassName»(IInterfaceItemOwner actor, String name, int localId, int idx) {
+ public «portClassName»(IEventReceiver actor, String name, int localId, int idx) {
super(actor, name, localId, idx);
«IF pclass!=null»
«pclass.attributes.attributeInitialization(pclass, true)»
@@ -183,7 +183,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
// replicated port class
static public class «replPortClassName» extends ReplicatedPortBase {
- public «replPortClassName»(IInterfaceItemOwner actor, String name, int localId) {
+ public «replPortClassName»(IEventReceiver actor, String name, int localId) {
super(actor, name, localId);
}
@@ -199,7 +199,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
return («portClassName») getInterfaceItem(idx);
}
- protected InterfaceItemBase createInterfaceItem(IInterfaceItemOwner rcv, String name, int lid, int idx) {
+ protected InterfaceItemBase createInterfaceItem(IEventReceiver rcv, String name, int lid, int idx) {
return new «portClassName»(rcv, name, lid, idx);
}

Back to the top