if there is JGoText in JGoNode we can get reference to jGoNode-object by JGoText-object:
switch (e.getHint()) {
case JGoViewEvent.OBJECT_EDITED:
JGoText jGoText = (JGoText) e.getObject();
JGoObject jGoObject = jGoText.getTopLevelObject();
if (jGoObject instanceof JGoIconicNode) {
// some action;
}
break;
}
but how can I get reference to JGoLink-object by JGoText-object if link label was edited?
jGoText.getTopLevelObject() returns same JGoText-object