Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gmf-dev] Re: Automatic creation of nodes

Thank you, Antoine and Richard, I confused the groups, now I've readed
the header of almost 700 mesages and posted a question in the GMF
newsgroup.
Sorry by the inconvenience.

Regards,

Alessander

2007/7/26, Richard Gronback <richard.gronback@xxxxxxxxxxx>:
You'll have better luck if you post these types of questions to the gmf
newsgroup: eclipse.modeling.gmf

You might want to take a look at the tutorial, part 3:
http://wiki.eclipse.org/GMF_Tutorial_Part_3#Custom_Actions

- Rich


On 7/26/07 9:41 AM, "Alessander Botti Benevides" <alessanderbotti@xxxxxxxxx>
wrote:

> Please, help me :(
> I'm gettint nuts...
>
> 2007/7/22, Alessander Botti Benevides <alessanderbotti@xxxxxxxxx>:
>> Hi People, I have the following (URGENT) problem:
>>
>> In a GMFMap file I have one Connection C1 and two Nodes N1 and N2. I
>> want that every time I make a connection C1 between two nodes N1, be
>> automatically created a N2 node. I'm trying in the following way: In
>> the Link Mapping that creates C1, I put a Feature Seq Initializer and,
>> inside it, I put a Reference New Element Spec that creates an instance
>> of the ECore metaclass related to the N2 node (via a containment
>> feature). Now, inside the Reference New Element Spec, I create a new
>> Feature Seq Initializer and a Feature Value Spec, inside it, to set
>> some features of the just created  element. But it doesn't creates the
>> N2 node, just an instance of the ECore metaclass associated to it. And
>> the element created is only accessible using an OCL console. In this
>> way I cannot modify nor visualize its properties in the properties tab
>>  :(
>>
>> Someone can help me? My Graduation Project in Computer Engineering is
>> almost finished, but stopped because of this problem, and I have only
>> a week more to defend it!
>>
>> thxs in advance,
>>
>> Alessander
>>
>

--
Richard C. Gronback
Borland Software Corporation
richard.gronback@xxxxxxxxxxx
+1 860 227 9215

_______________________________________________
gmf-dev mailing list
gmf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gmf-dev



--
"A questão não é se os animais podem raciocinar ou falar, mas se podem sofrer."
Jeremy Bentham

"Nossa tarefa deve ser nos libertarmos dessa prisão aumentando o nosso
círculo de compaixão para incluir todas as criaturas viventes e toda a
natureza em sua beleza."
Albert Einstein

"O Homem não é o único animal que pensa. Entretanto é o único que
pensa que não é animal."
Pascal

"Deveríamos ser capazes de recusar-nos a viver se o preço da vida é a
tortura de seres sensíveis."
Mahatma Gandhi

"Enquanto o Homem continuar a ser o destruidor dos seres vivos dos
planos inferiores, não conhecerá a saúde nem a paz.
Enquanto os homens massacrarem os animais, eles matar-se-ão uns aos
outros. Na verdade, aquele que semeia a morte e o sofrimento não pode
colher a alegria e o amor."
Pitágoras

"Eu temo pela minha espécie quando penso que Deus é justo."
Thomas Jefferson

"A compaixão para com os animais é das mais nobres virtudes da natureza humana."
Charles Darwin


Back to the top