Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Additional behaviors for SCA designer
Additional behaviors for SCA designer [message #576979] Tue, 18 May 2010 04:21 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: May 2010
Junior Member
Hi,

Is it possible to extend the SCA Composite Designer Plugin beyond the defined extension points for interface, implementation and bindings, defined in org.eclipse.stp.sca.diagram.extension.* ?

Specifically, is there a (safe) way to extend the diagrams to include additional widgets beyond the services and references etc. I can extend the SCA meta model to include additional elements and include those tags in the *.composite XML, but am unsure whether there is way into the designer plugin to allow new types of widgets to be added to and be manipulated in the existing SCA composite diagrams.

There is research in annotating architecture diagrams with additional behaviour or modelling information, such as time and space estimates. Being able to annotate this additional information would allow
the representation of non-functional behaviour for SCA architectures and allow analysis tools to analyse this information at runtime.

Assuming this is not possible currently, would this be useful extension to the designer framework?

Any suggestions?

Regards,
Ian
Re: Additional behaviors for SCA designer [message #577002 is a reply to message #576979] Tue, 18 May 2010 11:31 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
Hi,

Yes, you can extend the SCA meta model to include additional elements on
components, services and references. You can also add a property tab
displaying those elements (not a widget on the graphical representation).

There is a sample on the svn [0]. This sample provides an extension [1]
to add SAWSDL annotations on SCA elements. Have a look to the following
plugins: org.eclipse.stp.sca.semantic.sawsdl and
org.eclipse.stp.sca.semantic.sawsdl.edit.

To implement your own extension:
- First, create an ecore model describing your extension and generate
the code. Your elements must extend the EClass named AnyExtension
(defined in the SCA meta model). You must also add an element that
extends DocumentRoot. Have a look to the SAWSDL meta model defined in
org.eclipse.stp.sca.semantic.sawsdl/model/sawsdl.ecore
- Then, create a class that extends IFilter and a class that extends
ScaPropertySectionProvider. Define also the extensions needed. Have a
look to org.eclipse.stp.sca.semantic.sawsdl.edit/customsrc and to plugin.xml

Currently, this extension mechanism is only available with the OSOA meta
model (not with the OASIS one).

Best regards,

Stephane Drapeau
Obeo

[0]:
http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools /org.eclipse.stp.sca/trunk/plugins/
[1]: http://wiki.eclipse.org/STP/SCA_Project/Ontology

Ian.Edward.Thomas@rmit.edu.au a écrit :
> Hi,
>
> Is it possible to extend the SCA Composite Designer Plugin beyond the
> defined extension points for interface, implementation and bindings,
> defined in org.eclipse.stp.sca.diagram.extension.* ?
>
> Specifically, is there a (safe) way to extend the diagrams to include
> additional widgets beyond the services and references etc. I can
> extend the SCA meta model to include additional elements and include
> those tags in the *.composite XML, but am unsure whether there is way
> into the designer plugin to allow new types of widgets to be added to
> and be manipulated in the existing SCA composite diagrams.
>
> There is research in annotating architecture diagrams with additional
> behaviour or modelling information, such as time and space estimates.
> Being able to annotate this additional information would allow the
> representation of non-functional behaviour for SCA architectures and
> allow analysis tools to analyse this information at runtime.
>
> Assuming this is not possible currently, would this be useful extension
> to the designer framework?
>
> Any suggestions?
>
> Regards,
> Ian
Previous Topic:Component within SCA assembly
Next Topic:Additional behaviors for SCA designer
Goto Forum:
  


Current Time: Fri Apr 26 13:36:59 GMT 2024

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

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

Back to the top