I'm trying to create an editor for my model but after many attempts i receive several errors in the package manager.diagram.edit.parts (manager is model's name). This errors are present in public IParser getParser() classes and in a static calls off registerSnapBackPosition and always is present a ManagerVisualIDRegistry.getType method.
ManagerVisualIDRegistry.getType(manager.diagram.edit.parts.ManagerParameterNameEditPart.VISUAL_ID)); -----> diagram cannot be resolved or i not a field.
ManagerVisualIDRegistry..getType(manager.diagram.edit.parts.ManagerParameterStateExternalLabelEditPart.VISUAL_ID),new Point(0, 40)); ----> cannot make a static reference to the non static field-manager.
If i try to run the editor it runs but several nodes and connection are disadbled and if a try to create a note it is locked on top-left corner and i can't move it.
please help me to fix this problem... are many days that I try to do it.