Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Changing edit policies
Changing edit policies [message #247634] Thu, 05 March 2009 19:01
Colin Sharples is currently offline Colin SharplesFriend
Messages: 96
Registered: July 2009
Location: Wellington, New Zealand
Member

I want my figure to have different commands available depending on which
tool is selected in the palette. For example, I would have different tools
for move, resize and rotate.

Would I be better with a single edit policy that somehow understands which
tool is active, or would I have a separate edit policy for each tool, and
just switch the current edit policy on the figure when the tool is
activated? And how would I go about doing either of these approaches? I
have read all the documentation and articles I can find, but I still don't
really understand exactly any given editpolicy is deemed to be active for
any particular tool.


Colin Sharples
CTG Games Ltd
Wellington, New Zealand
Previous Topic:Confused with Policies
Next Topic:Removing rubber band on xylayout.
Goto Forum:
  


Current Time: Tue Nov 12 19:50:37 GMT 2024

Powered by FUDForum. Page generated in 0.02693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top