[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] attributes wLink

Hello!

I use mw_base_ext metamodel.

I'm extending DefaultWeavingPanel, in createWLinkEndActions method i have a 
wLinkRightEnd, i can to access its attribute (link ...), i need link 
attributes too (left, right),  i use this statements:

EObject sWLink = wLinkRightEnd.eClass().getEStructuralFeature("link");
sWlink is ok, but

EObject sRight = wLink.eClass().getEStructuralFeature("right");

sRight is null... :(

i tried this too, but it didn´t works

EStructuralFeature sWLink = 
wLinkRightEnd.eClass().getEStructuralFeature("link");

EObject wLink = (EObject) wLinkRightEnd.eGet(sWLink);

but wLink is null.

Sincerely thanks.

Kelly.