We made changes in gwt-connectors sources to be able to disable drag
and drop. Basically, we added a boolean parameter to Shape and
Connector constructors. When this boolean is true, all the drag and
drop related stuff is skipped.
It works fine but may not be the best since I think the javascript
code generated by the GWT compiler will still contain drag and drop
related code.
Maybe a better way to do this would be to have a Shape class with no
drag and drop capability and a DnDShape class extending Shape and
offering drag and drop capability (same thing for Connector and thus
for Section).
This way if a project uses only classes with no drag and drop, I think
the generated javascript code won't contain drag and drop related
code, since there won't be any import on a drag and drop related
class. (I am not sure about that though.)
Just wanted to know what you think about that?
another thing I would like to see implemented is curves not just
straight lines (as they did on gwt-diagram) and maybe that it goes a
little bit faster :p
another thing I would like to see implemented is curves not just
straight lines (as they did on gwt-diagram) and maybe that it goes a
little bit faster :p
On 19 mar, 15:47, Philippe Frangioni <pfrangi...@gmail.com> wrote: