dvdkruk / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

No connection shape on reference section #246

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Spray-Runtime
2. Import archive file in workspace (example archive file can be found on issue 
245)
3. Open petrinet.shape
4. Create a connection shape
5. Open petrinet.spray
6. Add the created connection shape after the connection keyword in the line 
beginning with "targetTransitions" or "targetPlaces"

What is the expected output? What do you see instead?
Expected: The generated "AddReferenceFeature" fetches the defined shape.
But, following code will generated (just a free form connection)

public PictogramElement add(final IAddContext context) {
        final IAddConnectionContext addConContext = (IAddConnectionContext) context;
        Place addedDomainObject = (Place) context.getNewObject();

        // CONNECTION WITH POLYLINE
        final Connection connection = peCreateService.createFreeFormConnection(getDiagram());
        connection.setStart(addConContext.getSourceAnchor());
        connection.setEnd(addConContext.getTargetAnchor());
...

Original issue reported on code.google.com by fabio.filippelli on 24 Mar 2013 at 1:26

GoogleCodeExporter commented 8 years ago

Original comment by fabio.filippelli on 24 Mar 2013 at 1:26

GoogleCodeExporter commented 8 years ago

Original comment by fabio.filippelli on 28 Mar 2013 at 4:33

GoogleCodeExporter commented 8 years ago

Original comment by fabio.filippelli on 9 Apr 2013 at 6:51

GoogleCodeExporter commented 8 years ago

Original comment by fabio.filippelli on 7 Jul 2013 at 4:25