Summary: | Cannot disable horizontal snapping when AbstractTool is in accessible drag state | ||
---|---|---|---|
Product: | [Tools] GEF | Reporter: | Marc Baumbach <mabaumba> |
Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | hudsonr, ppshah |
Version: | 3.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Marc Baumbach
2009-02-27 16:02:45 EST
Marc, there's a simple workaround possible by the GEF client. When the state becomes STATE_ACCESSIBLE_DRAG (in your SelectionTool), enable some Context "Foo" that inherits from the eclipse Context "Bar", being the one that defines the ALT+LEFT keybindings, etc. Then bind those keys to NULL in your "Bar" context. When the accessible states (there are a couple) are finally over, remove the context "Bar" to restore the default behavior. You should probably create the sub-context programatically to prevent the user from knowing about it. |