Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2014-11-02 17:34:27 +0000
committerHenrik Rentz-Reichert2014-11-02 17:34:27 +0000
commit795a36a5ababd281a8d0986782c7e1d3ea1cc15d (patch)
tree15d091d75f00fea95c257b35ac883c027b685136 /tests/org.eclipse.etrice.generator.tests
parente05751f2b1931cafe3affb7e93204f52c8dbee76 (diff)
downloadorg.eclipse.etrice-795a36a5ababd281a8d0986782c7e1d3ea1cc15d.tar.gz
org.eclipse.etrice-795a36a5ababd281a8d0986782c7e1d3ea1cc15d.tar.xz
org.eclipse.etrice-795a36a5ababd281a8d0986782c7e1d3ea1cc15d.zip
bug 448121: [core.room, generator, generator.c] Port Operations will not
be translated https://bugs.eclipse.org/bugs/show_bug.cgi?id=448121 Change-Id: Iea745c554b906f1739c2089fa8b9d726b6a0af75
Diffstat (limited to 'tests/org.eclipse.etrice.generator.tests')
-rw-r--r--tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java b/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
index 8da587b59..b01d2f89d 100644
--- a/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
+++ b/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
@@ -39,6 +39,7 @@ import org.eclipse.etrice.core.room.InterfaceItem;
import org.eclipse.etrice.core.room.Message;
import org.eclipse.etrice.core.room.Operation;
import org.eclipse.etrice.core.room.Port;
+import org.eclipse.etrice.core.room.PortOperation;
import org.eclipse.etrice.core.room.PrimitiveType;
import org.eclipse.etrice.core.room.ProtocolClass;
import org.eclipse.etrice.core.room.RefableType;
@@ -141,6 +142,15 @@ public class TestDetailCodeTranslator {
EnumerationType et = (EnumerationType) literal.eContainer();
return ">"+et.getName()+"_"+literal.getName()+"<";
}
+
+ /* (non-Javadoc)
+ * @see org.eclipse.etrice.generator.base.ITranslationProvider#getInterfaceItemOperationText(org.eclipse.etrice.core.fsm.fSM.AbstractInterfaceItem, org.eclipse.etrice.core.room.PortOperation, java.util.ArrayList, java.lang.String)
+ */
+ @Override
+ public String getInterfaceItemOperationText(AbstractInterfaceItem item,
+ PortOperation op, ArrayList<String> args, String orig) {
+ return null;
+ }
}
private RoomModel model;

Back to the top