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

Hi Alessander,

please use the newsgroup to ask this kind of questions. This list is reserved to developer discussions.

Regards,

Antoine

On 7/26/07, 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
>


--
"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
_______________________________________________
gmf-dev mailing list
gmf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gmf-dev



--
Intalio, the Open Source BPMS Company
<a href="" href="http://www.intalio.com">http://www.intalio.com">http://www.intalio.com </a>
<a href="" href="http://bpms.intalio.com">http://bpms.intalio.com">Community website: http://bpms.intalio.com</a>

Back to the top