Creating an initialized SCA diagram file programmatically [message #5367] |
Thu, 12 February 2009 06:05  |
Eclipse User |
|
|
|
Originally posted by: mickael.istria.openwide.fr
Hello,
I'd like to create programmatically a diagram file from an existing or
empty composite file, so that the newly created diagram file will open
without error in the Sca Diagram editor.
An empty diagram file produces an error when opening it (Premature end
of file).
Could you please help me to fulfill this task?
Regards,
Mickael
|
|
|
Re: Creating an initialized SCA diagram file programmatically [message #6020 is a reply to message #5367] |
Thu, 12 February 2009 07:26  |
Eclipse User |
|
|
|
Mickael Istria a écrit :
> Hello,
>
> I'd like to create programmatically a diagram file from an existing or
> empty composite file, so that the newly created diagram file will open
> without error in the Sca Diagram editor.
> An empty diagram file produces an error when opening it (Premature end
> of file).
>
> Could you please help me to fulfill this task?
>
> Regards,
> Mickael
Hi Mickael,
In the plugin org.eclipse.stp.sca.diagram, directory customsrc, have a
look at the class
org.eclipse.stp.sca.diagram.customactions.DiagramGeneration.
This class implements an action that generates the diagram files for all
the composite files found in a project.
The actions "resize" and "arrangeall" are also applied.
Regards,
Stephane Drapeau
Obeo
|
|
|
Re: Creating an initialized SCA diagram file programmatically [message #574275 is a reply to message #5367] |
Thu, 12 February 2009 07:26  |
Eclipse User |
|
|
|
Mickael Istria a écrit :
> Hello,
>
> I'd like to create programmatically a diagram file from an existing or
> empty composite file, so that the newly created diagram file will open
> without error in the Sca Diagram editor.
> An empty diagram file produces an error when opening it (Premature end
> of file).
>
> Could you please help me to fulfill this task?
>
> Regards,
> Mickael
Hi Mickael,
In the plugin org.eclipse.stp.sca.diagram, directory customsrc, have a
look at the class
org.eclipse.stp.sca.diagram.customactions.DiagramGeneration.
This class implements an action that generates the diagram files for all
the composite files found in a project.
The actions "resize" and "arrangeall" are also applied.
Regards,
Stephane Drapeau
Obeo
|
|
|
Powered by
FUDForum. Page generated in 0.02663 seconds