Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Better control af labels
Better control af labels [message #557841] Thu, 09 September 2010 03:52 Go to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

I want to better control the presentation of values of model elements.
Recall, e.g., the class diagram from UML. A method will be presented in
the class box in the following way:

+doFoo(bar:String):Int

And everybody knows that the method's name is 'doFoo', it is public, has
a parameter of type String and returns a value of type Int. In this
single-line label 5 information are coded: name, modifier, parameter,
parameter type, return type. You can speak of some kind of syntax.
Another viewpoint could be that a textual DSL is integrated into the
graphical of UML class diagrams. I want to do some sort of this. My
question is whether it is possible to define some kind of those
composite label with arbitrary glue strings (like ':', '(', ')'...). Is
it possible to model this needs or do I have to register a new class at
some extension point and sub-class another class or something like this.
Is there any documentation about this problem/issue?

best regards,
Gilbert
Re: Better control af labels [message #558095 is a reply to message #557841] Fri, 10 September 2010 03:52 Go to previous message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

no ideas?
Previous Topic:How to move the "DiagramActionBarContributor" to the "MultiPageEditorPart"
Next Topic:Newbie, no Nodes or Links shown in Create GMFMap model dialog
Goto Forum:
  


Current Time: Thu Jul 10 07:11:44 EDT 2025

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

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

Back to the top