Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Creating an initialized SCA diagram file programmatically
Creating an initialized SCA diagram file programmatically [message #5367] Thu, 12 February 2009 11:05 Go to next message
Eclipse UserFriend
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 12:26 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
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 12:26 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
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
Previous Topic:Creating an initialized SCA diagram file programmatically
Next Topic:Re: Download and Install BPMN
Goto Forum:
  


Current Time: Tue Apr 16 16:45:43 GMT 2024

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

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

Back to the top