Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get instance of IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor
How to get instance of IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor [message #528942] Thu, 22 April 2010 09:27 Go to next message
Eclipse UserFriend
I need add drag and drop support for application. I this purpose I need call
configurer.addEditorAreaTransfer(FileTransfer.getInstance());

but i don't have access to WorkbenchWindowAdvisor. So how can i get access to IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor?
Re: How to get instance of IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor [message #528956 is a reply to message #528942] Thu, 22 April 2010 09:46 Go to previous messageGo to next message
Eclipse UserFriend
There's no API for you to get that, but why can't you issue the
statement while your RCP app is starting up?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
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
Re: How to get instance of IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor [message #529132 is a reply to message #528956] Fri, 23 April 2010 03:13 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your response.
This is because I only add my own plugin to existing application, so i don't have the access to any advisor, or am I wrong and there is another way to execute code with simillar functionality?
Re: How to get instance of IWorkbenchWindowConfigurer outside WorkbenchWindowAdvisor [message #529240 is a reply to message #529132] Fri, 23 April 2010 10:22 Go to previous message
Eclipse UserFriend
There's no API for that. It's up to the application to determine if
they want to support DND for editors.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
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:Communicating between Editors or multiple files per editor
Next Topic:RCP + JNLP conflict
Goto Forum:
  


Current Time: Sun Jun 15 15:17:11 EDT 2025

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

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

Back to the top