|
|
Re: Extending the sca diagram editor [message #2813 is a reply to message #2779] |
Tue, 09 September 2008 11:56 |
Eclipse User |
|
|
|
Originally posted by: joachim.roth.gmx.at
Dameer Joog schrieb:
> 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.
>
Hi.
I'm also browsing through the stp.SCA / stp.Policy fragments these Days.
My Intention would be to use / implement a diagramm representation of
the SCA-policy part. Am I rigth thers is nothing like that yet or did I
just not find it so far?
|
|
|
|
|
Re: Extending the sca diagram editor [message #502234 is a reply to message #502187] |
Mon, 07 December 2009 10:41 |
Stephane Drapeau Messages: 199 Registered: July 2009 |
Senior Member |
|
|
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 10:41 |
Stephane Drapeau Messages: 199 Registered: July 2009 |
Senior Member |
|
|
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.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04644 seconds