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 #63709] Mon, 01 June 2009 06:58 Go to next message
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
Re: Zooming not workin properly in canvas [message #64142 is a reply to message #63709] Fri, 05 June 2009 12:11 Go to previous messageGo to next message
Rahul is currently offline RahulFriend
Messages: 13
Registered: July 2009
Location: India
Junior Member
Please ignore this. I found the problem and it is working now.

-Rahul


Thanks
Rahul
Re: Zooming not workin properly in canvas [message #598109 is a reply to message #63709] Fri, 05 June 2009 12:11 Go to previous messageGo to next message
Rahul is currently offline RahulFriend
Messages: 13
Registered: July 2009
Location: India
Junior Member
Please ignore this. I found the problem and it is working now.

-Rahul


Thanks
Rahul
Re: Zooming not workin properly in canvas [message #714807 is a reply to message #64142] Thu, 11 August 2011 14:37 Go to previous message
joel.acevedo is currently offline joel.acevedoFriend
Messages: 5
Registered: February 2010
Junior Member
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: Wed Nov 26 11:47:09 GMT 2014

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

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