Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » gets the active page path
gets the active page path [message #326352] Mon, 17 March 2008 14:16 Go to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Hi,

I need to retrieve the file path of the active page of my editor

How can I do ?

Thanks

Alexandre
Re: gets the active page path [message #326614 is a reply to message #326352] Wed, 26 March 2008 14:40 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Are you using a MultiPageEditorPart? Then I would imagine you could get
the inner editor input using getActiveEditor().getEditorInput() and sort
it out from there.

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/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: gets the active page path [message #326622 is a reply to message #326614] Wed, 26 March 2008 15:19 Go to previous message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Hi I doesn't need this feature anymore anyway thanks for your response.

Regards,

Alexandre
Previous Topic:Hide popup submenu for multiple selection
Next Topic:where to get the draw2d source
Goto Forum:
  


Current Time: Thu Nov 07 05:10:39 GMT 2024

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

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

Back to the top