Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » EAttribute value
EAttribute value [message #228585] Thu, 30 April 2009 16:48 Go to next message
Eclipse UserFriend
Originally posted by: i32rejim.uco.es

Dear list,

I have a list of all the EAttributes of an EClass (using
getEAllAttributes()) but i can´t find a method that returns the value of
that EAttribute at runtime.
Does anyone know how can I achieve this?
Re: EAttribute value [message #228593 is a reply to message #228585] Thu, 30 April 2009 16:52 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

--=-8BeHdnHox/wIsJElT/6Q
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi, Mar=C3=ADa,

This is an EMF question. I have included that newsgroup in my reply.

You need an instance of the EClass for which you want to get the
attribute value. See the EObject::eGet(EStructuralFeature) operation.

HTH,

Christian

On Thu, 2009-04-30 at 18:48 +0200, Mar=C3=ADa Reina Jim=C3=A9nez wrote:

> Dear list,
>=20
> I have a list of all the EAttributes of an EClass (using=20
> getEAllAttributes()) but i can=C2=B4t find a method that returns the valu=
e of=20
> that EAttribute at runtime.
> Does anyone know how can I achieve this?
>=20

--=-8BeHdnHox/wIsJElT/6Q
Content-Type: text/html; charset="utf-8"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.1.1">
</HEAD>
<BODY>
Hi, Mar&#237;a,<BR>
<BR>
This is an EMF question.&nbsp; I have included that newsgroup in my reply.<BR>
<BR>
You need an instance of the EClass for which you want to get the attribute value.&nbsp; See the EObject::eGet(EStructuralFeature) operation.<BR>
<BR>
HTH,<BR>
<BR>
Christian<BR>
<BR>
On Thu, 2009-04-30 at 18:48 +0200, Mar&#237;a Reina Jim&#233;nez wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Dear list,

I have a list of all the EAttributes of an EClass (using
getEAllAttributes()) but i can&#180;t find a method that returns the value of
that EAttribute at runtime.
Does anyone know how can I achieve this?

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-8BeHdnHox/wIsJElT/6Q--
Previous Topic:Re: ILinkHelper
Next Topic:i need help with adding a specific tool to the palette
Goto Forum:
  


Current Time: Thu Apr 25 12:13:48 GMT 2024

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

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

Back to the top