about getPrimaryDragEditPolicy() [message #198902] |
Fri, 25 July 2008 04:03  |
Eclipse User |
|
|
|
Hello,
In the generated diagram code,in a top node editpart code, there is a
method
/**
* @generated
*/
public org.eclipse.gef.EditPolicy getPrimaryDragEditPolicy() {
return new ();
}
why generate a return without a classtype?
How to solve this?
Thanks a lot!
Ye
|
|
|
|
|
|
audit rule debug [message #199212 is a reply to message #199159] |
Mon, 28 July 2008 08:09  |
Eclipse User |
|
|
|
Hello Alex,
Thank you for answering.This problem and the one about
getCompartmentName() has be solved by delete old diagram code and .gmfgen
file and regenerate from .gmfmap.
However the audit rules still don't work somehow.I try to set
breakpoint in front of the static classes DefaultCtx in the
xxxValidationProvider.And debug diagram code, but it just runs a Eclipse
application ,no degug perspective,and even though I do something disobey
the audit rule and then select 'Validate' from 'Diagram ' menu.Nothing
happens ,no warnings appears.
How to debug generated editor?
Many thanks!
Ye
|
|
|
Powered by
FUDForum. Page generated in 0.06111 seconds