Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Interface viewmap of Component Diagram
Interface viewmap of Component Diagram [message #622601] Mon, 11 August 2008 14:56
Niels Brouwers is currently offline Niels Brouwers
Messages: 67
Registered: July 2009
Member
Hi all,

as you might have guessed from me previous posts, I am trying to customize
an UML2 diagram generated by the UML2Tools to suit our needs. Are wish is
to add some elements to the element, which allows the user to add domain
specific elements to a standard UML2 structure diagram. Domain specific
elements actually are realized by applying a stereotype from our profile.

Currently, I have come this far that I have created my own diagram plugin
with a customized palette, preference page, property page etc etc. I have
based the diagram on the UML2 Component diagram. As such, it shows all the
elements of the Component diagram + plus some domain specific elements.
These elements are:
- customized component
- customized interface
- customized operation

Now, I would like to be able to add customized operations to a customized
interface. Unfortunately, adding operations to an interface is currently
not supported (UML2Tools RC4) by the component diagram. I have noticed
that it is possible to do this on the Class diagram. I suspect the biggest
problem is that the component diagram does not support the interface from
having a rectangular shape.

So, at this point I am trying to reverse engineer the way UML2 Class
diagram deal with interfaces and try to copy this to the customized
component diagram. To start simple, I have placed a node mapping in the
gmfmap model to realize a Rectangle shape figure Interface node when I
click on the customized interface on the palette. Later on, I would like
to make it exactly as implemented in the class diagram (dynamically
changeable between circle figure and rectangle figure by means of the
context menu).

Problem:
- when I try to place a rectangle figure on the diagram using the palette,
It is still showing a circle figure.
- how to implement the dynamically changeable context menu action in the
models?

In general, why are there separate structure diagrams such as component
and class diagrams? Why not making a general structure diagram?

Thank you for your answers!

Kind regards,
Niels Brouwers.



Kind regards,
Niels Brouwers.
Previous Topic:Re: Problem while re-generating UML2Tools clazz diagram
Next Topic:Interface viewmap of Component Diagram
Goto Forum:
  


Current Time: Thu Sep 18 21:49:51 GMT 2014

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

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