Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to implement selection zoom for my ScalableFreeformRootEditPart
How to implement selection zoom for my ScalableFreeformRootEditPart [message #512333] Thu, 04 February 2010 17:13 Go to next message
raj is currently offline rajFriend
Messages: 19
Registered: January 2010
Location: hyderabad
Junior Member

Hi,

I am looking for some sample code on how to do a selection zoom. Basically
I want to select a certain area , so the figures inside this area
will be selected, now I want to click a button on the toolbar so this
selected area will be zoomed to fill the entire client area.


Thanks

Raj..
Re: How to implement selection zoom for my ScalableFreeformRootEditPart [message #513191 is a reply to message #512333] Tue, 09 February 2010 10:19 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
GO thru this

org.eclipse.gmf.runtime.diagram.ui.internal.tools.ZoomTool

NOTE:
Another example of GMF class which should have been in GEF...

since the the plugin is not accesable,so you have to take out that class Confused


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:Use Draw2D on top of a StyledText
Next Topic:attach source of gef_3.4.1.v20080806 and draw2d_3.4.2.v20090114-1330
Goto Forum:
  


Current Time: Thu Apr 18 05:02:47 GMT 2024

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

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

Back to the top