|GEF default cursor change problem [message #1106595]
||Wed, 11 September 2013 09:47
| deepali k
Registered: May 2012
I have been implementing diagramming framework based on GEF rap.
In it I want to change the default cursor based on symbol/ connector selection.
As GEF-RAP is in incubator "SharedCursors" class's api "createCursor()" is not yet implemented , so I am trying with cursors from "Cursor" class.
In SWT based framework the code is perfectly working,for which I have written specific classes in order to override "setDefaultCursor" & "setDisabledCursor" apis used while creating a symbol/connector(by extending CreationTool class and ConnectionCreationTool class).But using RAP-GEF the behavior is uncertain.
In RAP-GEF on mouse hover on edit part, the cursor doesn't change , showing the default "Selection" cursor(CURSOR_ARROW).
Powered by FUDForum
. Page generated in 0.01760 seconds