Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Zooming not workin properly in canvas
Zooming not workin properly in canvas [message #597985] Mon, 01 June 2009 06:58
Rahul is currently offline RahulFriend
Messages: 13
Registered: July 2009
Location: India
Junior Member
Hi,
I have made a plug-in for selecting a wave file from a Table View and
drawing a waveform in Canvas. The user can select a point or a portion in
the waveform. For this I have created a WaveForm class which implements
Composite in which I have added a PaintListener to the canvas for drawing
the waveform and mouse listener for selection. This WaveForm class is
called by another which create a Group and hence waveform. For zooming the
waveform in x-axis I have called Composite.setMinSize with new width and
also initialized the mouse listeners with new “x” and “y” co-ordinates
values and called the listeners once again as this is a singleton model.
But I am not getting the proper selection specially after the first zoom
in. Please help, I will send the plug-in or the WaveForm class if required.

Thanks,
Rahul


Thanks
Rahul
Previous Topic:Recommended way to run 3.5 in headless mode
Next Topic:Running as if I were pointed to an installation
Goto Forum:
  


Current Time: Fri Apr 26 07:17:21 GMT 2024

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

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

Back to the top