Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Component Architecture (SCA) Tools » Extending the sca diagram editor
Extending the sca diagram editor [message #2779] Mon, 08 September 2008 05:50 Go to next message
Dameer Joog is currently offline Dameer Joog
Messages: 17
Registered: July 2009
Junior Member
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 #2796 is a reply to message #2779] Mon, 08 September 2008 08:17 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
Registered: July 2009
Senior Member
Dameer Joog a écrit :
> 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,

items 1) and 2) are implemented. Have a look at [0].
Currently, we can add new binding, implementation and interface types.
I'm waiting a sign from the Eclipse fundation to commit the code [1].


item 3)
Have a look at
org.eclipse.stp.sca.diagram.customactions.OpenEditorAction.j ava
Take this class as a draft. We haven't yet defined extension points. If
you have any idea, don't hesitate to submit a bug [2].

Regards,

Stéphane Drapeau
Obeo

[0]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=236221
[1]: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2575
[2]:
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advan ced&short_desc_type=allwordssubstr&short_desc=&c lassification=STP&product=SOA&component=org.eclipse. stp.sca
Re: Extending the sca diagram editor [message #2813 is a reply to message #2779] Tue, 09 September 2008 11:56 Go to previous messageGo to next message
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?
SCA Policy [message #2831 is a reply to message #2813] Tue, 09 September 2008 13:05 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
Registered: July 2009
Senior Member
Joachim Roth a écrit :
> 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?

Hi Joachim,

You're right, there is nothing like that. We said yesterday, on the
stp-dev mailing list [0], that we want/must work on this issue ;)

If you've ideas or if you want to develop something, don't hesitate.
I created a wiki page where you can put some ideas [1]. You're wellcome.

Stéphane Drapeau
Obeo

[0]: http://dev.eclipse.org/mhonarc/lists/stp-dev/msg01954.html
[1]: http://wiki.eclipse.org/STP/SCA_Component/SCA_Policy
Re: Extending the sca diagram editor [message #502187 is a reply to message #2779] Mon, 07 December 2009 06:15 Go to previous messageGo to next message
Anubhav  is currently offline Anubhav
Messages: 6
Registered: December 2009
Junior Member
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 #502234 is a reply to message #502187] Mon, 07 December 2009 10:41 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
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 #572977 is a reply to message #2779] Mon, 08 September 2008 08:17 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
Registered: July 2009
Senior Member
Dameer Joog a écrit :
> 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,

items 1) and 2) are implemented. Have a look at [0].
Currently, we can add new binding, implementation and interface types.
I'm waiting a sign from the Eclipse fundation to commit the code [1].


item 3)
Have a look at
org.eclipse.stp.sca.diagram.customactions.OpenEditorAction.j ava
Take this class as a draft. We haven't yet defined extension points. If
you have any idea, don't hesitate to submit a bug [2].

Regards,

Stéphane Drapeau
Obeo

[0]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=236221
[1]: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2575
[2]:
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advan ced&short_desc_type=allwordssubstr&short_desc=&c lassification=STP&product=SOA&component=org.eclipse. stp.sca
Re: Extending the sca diagram editor [message #573015 is a reply to message #2779] Tue, 09 September 2008 11:56 Go to previous messageGo to next message
Joachim Roth is currently offline Joachim Roth
Messages: 1
Registered: July 2009
Junior Member
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?
SCA Policy [message #573048 is a reply to message #2813] Tue, 09 September 2008 13:05 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
Registered: July 2009
Senior Member
Joachim Roth a écrit :
> 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?

Hi Joachim,

You're right, there is nothing like that. We said yesterday, on the
stp-dev mailing list [0], that we want/must work on this issue ;)

If you've ideas or if you want to develop something, don't hesitate.
I created a wiki page where you can put some ideas [1]. You're wellcome.

Stéphane Drapeau
Obeo

[0]: http://dev.eclipse.org/mhonarc/lists/stp-dev/msg01954.html
[1]: http://wiki.eclipse.org/STP/SCA_Component/SCA_Policy
Re: Extending the sca diagram editor [message #576660 is a reply to message #2779] Mon, 07 December 2009 06:15 Go to previous messageGo to next message
Anubhav  is currently offline Anubhav
Messages: 6
Registered: December 2009
Junior Member
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 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane Drapeau
Messages: 198
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 #842440 is a reply to message #2779] Thu, 12 April 2012 09:48 Go to previous messageGo to next message
Sergio Vasquez is currently offline Sergio Vasquez
Messages: 1
Registered: April 2012
Junior Member
Now I working in a extension to sca tools. I'm trying to add an element inside the sca component.
I am very new in the SCA subject and also in eclipse plugin extension.
I have already read this contribution to that subject. But it is a kind of old and the most part of the link don't exist right now. I hope than you can give some hint to start my own work. Any kind of information o clue will be totally appreciated.
Regards.
Re: Extending the sca diagram editor [message #857414 is a reply to message #2779] Thu, 26 April 2012 14:10 Go to previous message
Vincent Zurczak is currently offline Vincent Zurczak
Messages: 140
Registered: July 2009
Senior Member
Hi,

Can you describe a little bit what you want to add in the model?
Is it a new interface? A new binding? A new implementation?
Previous Topic:Tutorial has to be changed
Next Topic:SOA application
Goto Forum:
  


Current Time: Sat Nov 01 07:38:06 GMT 2014

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

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