[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: I need help with dynamic list

I'd also like to replicate some of the behavior found in the UML 2 tool.  I 
have an enum of a bunch of types.  I would then like to have labels that 
have the label content auto-assisted or constrained based on my enum types. 
For example, my enum consists of types (string, int, double, etc).  I would 
then like to type in a label on my figure with a String such as "<type> b = 
null", but I want to force the <type> statement of my label to be one of my 
pre-defined enum types.  The UML 2 tool has this behavior.  I've downloaded 
the source, but can only find the ecore files for UML 2.  Does anybody know 
where I can find the gmfgraph and gmfmap files for the UML 2 tool? Does 
anybody know how to achieve this desired result?
Thanks,
Joe

"Iván Jerez" <ijerez2001@xxxxxxxxx> wrote in message 
news:fd0cob$civ$1@xxxxxxxxxxxxxxxxxxxx
> Hello, this is my first thread.
> I need help for a GMF application.
> In my model, i´ve a enumeration of basictypes (int,byte, float, double, 
> ...) and this enumeration is attribute for a EClass. I´d like want to this 
> enumeration grow up with new values for the enumeration when a create in 
> the RCP diagram new types.
> I´ve search in the news, but i haven´t found anything.
> Only i´ve look on the UML based on GMF, and i´ve seen that it´s possible, 
> because when it create new class, this class can be a new type for another 
> class´attribute.
>
> Thank you and sorry for my english.