Skip to main content



      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 06: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 07:26 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 15 05:41:20 EDT 2025

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

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

Back to the top