Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2016-10-03 19:37:32 +0000
committerChristian W. Damus2016-10-03 19:38:01 +0000
commit96c44f552451e5d01ff2c3aa41c7cdea1b0883ed (patch)
tree86bc8b21cba26d599b5670e51aa877f54919e580
parent33a241d96441405e5b2653c7c871c0b046e39a53 (diff)
downloadorg.eclipse.papyrus-rt-96c44f552451e5d01ff2c3aa41c7cdea1b0883ed.tar.gz
org.eclipse.papyrus-rt-96c44f552451e5d01ff2c3aa41c7cdea1b0883ed.tar.xz
org.eclipse.papyrus-rt-96c44f552451e5d01ff2c3aa41c7cdea1b0883ed.zip
Bug 501119: [Core] AnsiCLibrary not available as a registered library
https://bugs.eclipse.org/bugs/show_bug.cgi?id=501119 Add registration of the C types library from Papyrus Designer. Change-Id: Ia4ddbbe856745da5d51fec1bf669e285debd2d83
-rw-r--r--plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/icons/c_lib.pngbin0 -> 1444 bytes
-rw-r--r--plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/plugin.xml11
2 files changed, 11 insertions, 0 deletions
diff --git a/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/icons/c_lib.png b/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/icons/c_lib.png
new file mode 100644
index 000000000..014d5193e
--- /dev/null
+++ b/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/icons/c_lib.png
Binary files differ
diff --git a/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/plugin.xml b/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/plugin.xml
index 8faf42221..4db4b03e0 100644
--- a/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/plugin.xml
+++ b/plugins/umlrt/cpp/org.eclipse.papyrusrt.umlrt.cpp/plugin.xml
@@ -10,5 +10,16 @@
name="C++">
</defaultLanguage>
</extension>
+
+ <extension
+ point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary">
+ <library
+ description="ANSI C fixed size primitive types library for UML-RT C++ code generation."
+ iconpath="icons/c_lib.png"
+ name="ANSI C Primitive Types"
+ path="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml"
+ provider="Eclipse Modeling Project">
+ </library>
+ </extension>
</plugin>

Back to the top