-
Notifications
You must be signed in to change notification settings - Fork 100
Development How To
- Common: Generic plugins, independent from Capella metamodel. Used by various plugins ;
- Core: Plugins dependent from Capella metamodel (Regarding charts, transitions, model validation, queries on semantic browser, property views, etc.) ;
- Legacy : Obsolete dependencies ;
- Doc: Capella documentation plugins - documentation as Eclipse documentation (e.g. Eclipse help menu) ;
- M2: Capella metamodel (ecore files) ;
- Releng : Code generation plugins (Generate Capella EMF code from ecore metamodels), target platform definition and product definition.
This step can only be done in a Capella Studio environment
- Import
releng/*.egf
,core/plugins/*.gen*
,common/plugins/*.gen*
, andm2/*
- Import in your workspace
*emde.model
as source from Capella Studio(File → Import... → Plug-in Development → Plug-ins and Fragments → Projects with source folders → Add emde.model → Finish )
- Do your modifications into m2 folder ecore (data.def) ;
- Open the file
org.polarsys.capella.core.egf/egf/capella.fcore
- Right Click on
org.polarsys.capella.core.egf
root element and Run EGF Activity. - If new derived features are added we need to add their implementations in Helper classes and contribute Viatra surrogate queries Tip: To avoid rebuilding the whole Viatra project, we can remove existing queries and only generate new queries.
- Edit the release note located in the embedded doc of Capella (Release Note)
Capella documentation is stored in Capella Git repository doc folder.
To create/update documentation, Mylyn/Wikitext must be installed in you IDE (which shall be already the case)
Contribute to the extension point org.eclipse.help.toc
;
Ensure that:
plugin.xml
contains the contribution to the org.eclipse.help.toc
extension point.
toc.xml
root element references an anchor defined in the main table of contents org.polarsys.capella.doc/toc.xml#<anchor>
Contribute to the documentation modifying a Mediawiki file in the <html>/*.mediawiki
. In case of a creation of a new Mediawiki file, do not forget to update the toc.xml
in order to create a new Topic accordingly.
Before testing the contribution, the documentation first needs to be transformed into HTML.
To do so, right-click on the build.xml
file and select Run as > External Tools Configuration...
Ensure that in JRE tab, the option Run in the same JRE as the workspace
is selected. Then press Run button
. The generation starts and in logged in the console window.
When the generation ends with success, you can test it by launching Capella target platform then launching the Help menu.
- Modify the metamodel(s)
- Regenerate code for EGF Patterns.
- If metamodel modification only contains URI version modification: update .fcore files URIs references
- If metamodel modification is more complex:
- Find all .fcore files referencing elements of the metamodel and update the .fcore content
- In all .fcore files containing patterns, find all patterns extending super patterns. If these super patterns containing references to elements of the metamodel, update according to super patterns modifications.
- Official Website
- Download
- Release-Notes 7.0.0 (current version)
- Release-Notes-6.1.0
- Release-Notes-6.0.0