[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.amalgam] Re: Unable to add a reference to Ecore EAttribute in Tooltip class
|
- From: Richard Gronback <richard.gronback@xxxxxxxxxxx>
- Date: Mon, 11 May 2009 10:15:55 -0400
- Newsgroups: eclipse.modeling.amalgam
- Organization: EclipseCorner
- Thread-index: AcnSQv9RVjB+DdbenEWemjGrx+tr6g==
- Thread-topic: Unable to add a reference to Ecore EAttribute in Tooltip class
- User-agent: Microsoft-Entourage/12.17.0.090302
You definitely need to use the Runtime Version to create the reference. You
then loaded requirements.gmfgen into the resource set using the Sample
Reflective Ecore Model Editor, but don't see the title:Estring attribute in
the list? You're using the Ganymede version of the DSL Toolkit, right?
On 5/11/09 9:59 AM, in article
8a1632127e56961c7bc5eeb44a7ff768$1@xxxxxxxxxxxxxxx, "Jean Michel Boulcourt"
<jeanmimib@xxxxxxxxx> wrote:
> In paragraph 4.4.5, page 117 of book "Eclipse Modeling Project", it is
> said to create a reference textAttribute of type EAttribute.
>
> I have some problems in trying to do so:
> - If I load the runtime version of http://www.eclipse.org/emf/2002/Ecore
> model in the resource set, I am not able to add a reference of type
> EAttribute in the Tooltip class.
> - If I load the development version of
> http://www.eclipse.org/emf/2002/Ecore model in the resource set, I am able
> to add textAttribute of type EAttribute. But then in the dynamic instance
> of Tooltip(.xmi) I cannot choose "title:EString" from the list box next to
> textAttribute.
>
> What I am doing wrong ? Did I miss something ?
>
--
Thanks,
Rich