|
Re: ReadOnly Diagram [message #2024 is a reply to message #2006] |
Wed, 15 October 2008 13:28 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Dali,
the BpmnDiagram is the semantic element while the Diagram object is the
graphical element. You can access the BpmnDiagram object by doing
diagram.getElement();
I can't help much more on this issue, you'll need to investigate your
code to see what's going wrong.
Thanks,
Antoine
Dali wrote:
> Hi everybody ,
>
> i'm displaying a diagram (using DiagramInputDocumentProvider as document
> provider and DiagramEditorInput as editor input) .
>
> My problem is that it's a readonly diagram : it seems like the diagram
> has not a corresponding EMF Model to synchronise with.
>
> I tried to override isReadOnly() and isModifiable() methods but :((.
>
> When i'm trying to move shapes or edit labels nothing is shown on the
> console log.
>
> Should i use a BpmnDiagram in the place of the Diagram Type ??
>
> Best Regards ,
>
> Dali.
>
|
|
|
|
Re: ReadOnly Diagram [message #2050 is a reply to message #2037] |
Thu, 16 October 2008 16:52 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Dali, look at how to save files with EMF.
Thanks,
Antoine
Dali wrote:
> Hi Antoine ,
>
> I think that the problem is due to the usage of diagrameditorinput .
> Infact it brings a readonly image of the diagram.
>
> I think that i should create a file based on my generating diagram and
> open my editor on a file input.
>
> How can i achieve this , is there any methods that should be called by
> the Modeler API.
>
> Best Regards ,
>
> --
>
> Dali
>
|
|
|
Powered by
FUDForum. Page generated in 0.04106 seconds