Extending the sca diagram editor [message #2779] |
Mon, 08 September 2008 01:50  |
Eclipse User |
|
|
|
Hi.
I am trying to extend the diagram editor. Where should i start ? I m
interested in automating the editor so that:
1) i can add more items in the palette
2) drag & drop items from the palette to the components
3) right click the binding and open the associated editor in another page.
Thanks.
|
|
|
|
|
|
|
Re: Extending the sca diagram editor [message #502234 is a reply to message #502187] |
Mon, 07 December 2009 05:41   |
Eclipse User |
|
|
|
Hi Anubhav,
To extend the SCA Designer, you have to follow two steps:
(1) First, create a new plugin where you define a new ecore that extends
the SCA Meta Model. Then, generate the code. The namespace mustn't be
the open SOA one. More information can be found here [0].
(2) Then, create a new plugin (...diagram). Edit the plugin.xml file and
add the extension points needed to add your new SCA elements in the SCA
Designer. More information here [1].
Have a look also to the code specific to Tuscany and FraSCAti. You can
find it in the svn [2].
Regards,
Stephane Drapeau
Obeo
[0]: http://wiki.eclipse.org/STP/SCA_Component/SCA_MMExtension
[1]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_CompositeDesig nerExtension
[2]:
http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools /org.eclipse.stp.sca/trunk/
Anubhav a écrit :
> Hi Guys,
>
> Will you please guide me how you added new diagram, with drag and drop
> functionality, in SCA pallete.
>
> I also want to do the same thing.
>
> Thanks for your cooperation.
|
|
|
|
|
|
|
Re: Extending the sca diagram editor [message #576706 is a reply to message #576660] |
Mon, 07 December 2009 05:41   |
Eclipse User |
|
|
|
Hi Anubhav,
To extend the SCA Designer, you have to follow two steps:
(1) First, create a new plugin where you define a new ecore that extends
the SCA Meta Model. Then, generate the code. The namespace mustn't be
the open SOA one. More information can be found here [0].
(2) Then, create a new plugin (...diagram). Edit the plugin.xml file and
add the extension points needed to add your new SCA elements in the SCA
Designer. More information here [1].
Have a look also to the code specific to Tuscany and FraSCAti. You can
find it in the svn [2].
Regards,
Stephane Drapeau
Obeo
[0]: http://wiki.eclipse.org/STP/SCA_Component/SCA_MMExtension
[1]:
http://wiki.eclipse.org/STP/SCA_Component/SCA_CompositeDesig nerExtension
[2]:
http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools /org.eclipse.stp.sca/trunk/
Anubhav a écrit :
> Hi Guys,
>
> Will you please guide me how you added new diagram, with drag and drop
> functionality, in SCA pallete.
>
> I also want to do the same thing.
>
> Thanks for your cooperation.
|
|
|
|
|
Re: Extending the sca diagram editor [message #1699636 is a reply to message #857414] |
Thu, 25 June 2015 08:35  |
Eclipse User |
|
|
|
hi, i am now doing some developing about SCA,and i met some difficulties with it,could you please guide me how you added new diagram,
(1)i can add more items in the palette,such as a model called event like component to the composite
(2) it can be drag & drop from the palette to the composite
|
|
|
Powered by
FUDForum. Page generated in 0.04610 seconds