Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » I need help with dynamic list
I need help with dynamic list [message #151948] Fri, 21 September 2007 12:17 Go to next message
Eclipse UserFriend
Originally posted by: ijerez2001.gmail.com

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.
Re: I need help with dynamic list [message #152076 is a reply to message #151948] Mon, 24 September 2007 15:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdente.21technologies.com

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
Re: I need help with dynamic list [message #152143 is a reply to message #152076] Tue, 25 September 2007 14:44 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

import->plugin&fragments->projects w/source-code-> *uml2*diagram -> add.
- -stefan


Joe Dente schrieb:
> 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@gmail.com> wrote in message
> news:fd0cob$civ$1@build.eclipse.org...
>> 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.
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+R7MIYVWjMSpDwwRAvIxAJ41wQ+PJUwlBPJEYtFr/DdNUmBLjACc CsrY
xIQtzRjSkPaLZtVnJ3eexJ8=
=TX51
-----END PGP SIGNATURE-----
Re: I need help with dynamic list [message #214510 is a reply to message #151948] Mon, 05 January 2009 08:53 Go to previous message
Eclipse UserFriend
Originally posted by: Erazerx.gmx.de

Hello,

did you or anybody else find a solution for this problem?
I also need to dynamically change a list of datatpyes, from which the
user should be able to choose one from :(.

Thanks in advance, Arne



Iván Jerez schrieb:
> 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.
Previous Topic:[Mindmap Tutorial - Part 1] the create new topic tool doesn't create a new topic
Next Topic:SVG not working
Goto Forum:
  


Current Time: Tue Apr 16 18:49:33 GMT 2024

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

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

Back to the top