Community
Participate
Working Groups
In some use cases one does not want the selection tools to be in the palette. Hence it should be possible to not add these. Currently GFPaletteRoot will always add the selection tools. Note that there also appears to be no way of customising this section of the palette. Maybe this type of tools should be handled similar to the creation tools? I.e. allowing the FeatureProvider to supply the tools to be placed in that section.
Well I did find a way of overriding this behaviour; by subclassing the Graphiti editor and implementing *createPaletteRoot()*. Since we already have our own editor this works for us so I'm not going to spend more time on this issue. I'm leaving it open in case you guys want to handle it otherwise.
Would like to target for Juno
I added 2 methods to the tool behaviour provider that allow tool builders to prevent the selection tool and/or the marquee tool from appearing in the palette. I also added a test for this. Checked-in to head and pushed to Eclipse: commit c4e53155eb6b3324fb202c5936186eaac4a94f1d Author: mwenz <michael.wenz@sap.com> 2011-11-24 16:08:59 Committer: mwenz <michael.wenz@sap.com> 2011-11-24 16:08:59 Parent: 2998206489c6883a255033ce10498cdb361e5db0 (Bug 349416: Support drag&drop operations on FixPointAnchors the same way as for BoxRelativeAnchors) Branches: origin/master, master
Bookkeeping: Set target release
Part of Graphiti 0.9.0 (Eclipse Juno)