diff options
author | Ansgar Radermacher | 2015-12-15 14:43:19 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2015-12-15 14:53:45 +0000 |
commit | a3c852b05d904808c64bee1602141d57507e4a84 (patch) | |
tree | fefb7a85fd6a2d8e918163502ac46339554ef282 /extraplugins | |
parent | 341c125117b480200a6317a43b32c86143549e4d (diff) | |
download | org.eclipse.papyrus-a3c852b05d904808c64bee1602141d57507e4a84.tar.gz org.eclipse.papyrus-a3c852b05d904808c64bee1602141d57507e4a84.tar.xz org.eclipse.papyrus-a3c852b05d904808c64bee1602141d57507e4a84.zip |
Bug 480751 - [QDesigner] C++ library stereotype is not taken into account for project generation
Diffstat (limited to 'extraplugins')
-rw-r--r-- | extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/deployment/GatherConfigData.java | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/deployment/GatherConfigData.java b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/deployment/GatherConfigData.java index cda9715d7b5..62574661a24 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/deployment/GatherConfigData.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/deployment/GatherConfigData.java @@ -34,22 +34,31 @@ public class GatherConfigData implements PreCopyListener { * Gather configuration data for a code generation project * Constructor. * - * @param langSupport + * @param projectSupport * A reference to a class providing the language support interface */ - public GatherConfigData(ILangProjectSupport langSupport) { - this.langSupport = langSupport; + public GatherConfigData(ILangProjectSupport projectSupport) { + this.projectSupport = projectSupport; + settings = projectSupport.initialConfigurationData(); } @Override public EObject preCopyEObject(LazyCopier copy, EObject sourceEObj) { if (sourceEObj instanceof Class) { - langSupport.gatherConfigData((Class) sourceEObj, settings); + projectSupport.gatherConfigData((Class) sourceEObj, settings); } return sourceEObj; } - protected ILangProjectSupport langSupport; + /** + * Return the settings that have been gathered + * @return + */ + public AbstractSettings getSettings() { + return settings; + } + + protected ILangProjectSupport projectSupport; protected AbstractSettings settings; } |