Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EuGENia Annotations
EuGENia Annotations [message #1053564] Mon, 06 May 2013 14:39 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

i see 'Customizing a GMF editor generated by EuGENia' tutorial on Epslon web site.

And i want to use something like that on tutorial

@gmf.node(label="name,type", figure="rectangle",
    label.icon="false", label.pattern="{0}:{1}")
class Attribute {
   attr String name;
   attr String type;

on {1} string i want to use static string not dynamic string from my model.

so i try this,

@gmf.node(label="name", figure="rectangle", label.icon="false", label.pattern="{0}:'ContentType'")

on diagram i see my string but i need to user can't change this string so how can i done this ?


[Updated on: Mon, 06 May 2013 14:46]

Report message to a moderator

Re: EuGENia Annotations [message #1053573 is a reply to message #1053564] Mon, 06 May 2013 14:58 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 472
Registered: January 2010
Senior Member
You might want to use different edit and view patterns:

@gmf.node(label="name", figure="rectangle", label.icon="false",

Previous Topic:[Eugenia] Generating Default Values for ecore
Next Topic:Xtext Graphical View
Goto Forum:

Current Time: Sun May 27 17:48:40 GMT 2018

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

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

Back to the top