Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Zooming not workin properly in canvas
Zooming not workin properly in canvas [message #63709] Mon, 01 June 2009 02:58 Go to next message
Eclipse UserFriend
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
Re: Zooming not workin properly in canvas [message #64142 is a reply to message #63709] Fri, 05 June 2009 08:11 Go to previous messageGo to next message
Eclipse UserFriend
Please ignore this. I found the problem and it is working now.

-Rahul
Re: Zooming not workin properly in canvas [message #598109 is a reply to message #63709] Fri, 05 June 2009 08:11 Go to previous messageGo to next message
Eclipse UserFriend
Please ignore this. I found the problem and it is working now.

-Rahul
Re: Zooming not workin properly in canvas [message #714807 is a reply to message #64142] Thu, 11 August 2011 10:37 Go to previous message
Eclipse UserFriend
Rahul,

Is the plugin you created for displaying waveforms publicly available?

Thanks
Previous Topic:Toolbar flooded with icons!
Next Topic:Is it possible to extend another Plug-ins nature??
Goto Forum:
  


Current Time: Sat May 10 07:03:04 EDT 2025

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

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

Back to the top