Multiple DomainObjects per Pictogram [message #1705218] |
Wed, 12 August 2015 17:46  |
Eclipse User |
|
|
|
I'm stuck at separating layout information from other attributes. The layout - like the position of a specific element has to be saved separated (but same file) from other attributes in my domainmodel.
I tried following:
@Override
public Object[] create(ICreateContext context) {
//...
// generation of separated EObjects
MyUtil.saveBoToFile(myEObject1, myEObject2);
return Object[] { myEObject1, myEObject2};
}
but calling
getAllBusinessObjectsForPictogramElement(pe);
only returns the primary BO.
I managed to save both BOs to file, but on moving/deleting only the primary one gets edited.
How could this be done? -Thank you very much.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03098 seconds