Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF extending existing model
EMF extending existing model [message #871230] Fri, 11 May 2012 14:14
Leonid Ripeynih is currently offline Leonid RipeynihFriend
Messages: 150
Registered: February 2012
Senior Member
I have a large EMF model, more specifically a BPMN2.0 model from MDT project. There is a requirement for our software, that we have to support oracle JDeveloper BPMN2 export format, which is almost corresponding the BPMN2.0 schemat, but have it's own extension. Here is an example:

<startEvent isInterrupting="false" name="Start" id="startEvent0">
        <ns2:OracleExtensions>
            <ns2:GraphicsAttributes>
                <ns2:Position y="225" x="100"/>
                <ns2:Size height="21" width="21"/>
            </ns2:GraphicsAttributes>
            <ns2:FeatureSet>
                <ns2:BooleanFeature value="false" name="sync"/>
                <ns2:BooleanFeature value="false" name="catchAllErrors"/>
                <ns2:BooleanFeature value="false" name="catchAllSystemExceptions"/>
                <ns2:StringFeature value="" name="associatedProcess"/>
                <ns2:StringFeature value="" name="associatedNode"/>
                <ns2:StringFeature value="" name="initiator"/>
                <ns2:StringFeature value="operation" name="definedOperationName"/>
                <ns2:StringFeature value="PROCESS_DEFAULT" name="generatesEvents"/>
                <ns2:StringFeature value="USE_PROCESS_PERMISSION" name="sealType"/>
            </ns2:FeatureSet>
            <ns2:Participant/>
        </ns2:OracleExtensions>
        <outputSet/>
        <messageEventDefinition/>
    </startEvent>



There is an XSD schema for ns2, so i've easily generated the correspinding eCore model. The problem i'm trying to solve for a two days - is how to 'plug' the OracleExtensions model into an existant BPMN2.0 eCore model the right way. The goal i'm trying to achive is to edit the model with the BPMN2.0 modeler plugin, and to provide an exended properties to edit the oracle-specific features.

Any suggestions are very welcome!
Previous Topic:When saving a resource how to create text nodes for resource attributes?
Next Topic:Cannot enter values in the generated EMF editor
Goto Forum:
  


Current Time: Sat Apr 20 00:25:44 GMT 2024

Powered by FUDForum. Page generated in 0.02671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top