Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How do I know a view is moved?
How do I know a view is moved? [message #638137] Wed, 10 November 2010 01:57 Go to next message
tom  is currently offline tom
Messages: 17
Registered: August 2010
Junior Member
Is there a thing , like listener , knowing of a view is moved?
Re: How do I know a view is moved? [message #638302 is a reply to message #638137] Wed, 10 November 2010 13:20 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

tom wrote:
> Is there a thing , like listener , knowing of a view is moved?

You might try adding org.eclipse.ui.IPerspectiveListener2 to the
IWorkbenchPage. It has a perspective changed method. See if that gets
called when a view is moved.

There's also IPartListener2, but I don't think that has a move.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Integrate Axis2 Rampart into RCP
Next Topic:Re-using eclipse team in an rcp app
Goto Forum:
  


Current Time: Fri Jul 25 16:42:00 EDT 2014

Powered by FUDForum. Page generated in 0.04090 seconds