Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How can I use eclipse default package explorer to create my own package explorer(I want to create my own package explorer which will show files on the base of some condition)
How can I use eclipse default package explorer to create my own package explorer [message #901932] Wed, 15 August 2012 06:55 Go to next message
Muhammad Tahir is currently offline Muhammad TahirFriend
Messages: 21
Registered: June 2012
Junior Member
Hello All,

I want to show only the files in the package explorer which has GUI. How can I use exsisting package explorer so that I can do this by making less changes. Is there any way to extend all functionality of default package explorer and just override specific part which i want to change?

I would be greatfull for your help
Thanks
M-Tahir

[Updated on: Wed, 15 August 2012 07:44]

Report message to a moderator

Re: How can I use eclipse default package explorer to create my own package explorer [message #901934 is a reply to message #901932] Wed, 15 August 2012 07:22 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 15.08.2012 08:55, Muhammad Tahir wrote:
> Hello All,
>
> I want to show only the files in the package explorer which has GUI.
> How can I use exsisting package explorer so that I can do this by
> making less changes
Why not use the 'Navigator' view then?

Dani
Re: How can I use eclipse default package explorer to create my own package explorer [message #902165 is a reply to message #901934] Thu, 16 August 2012 08:13 Go to previous messageGo to next message
Muhammad Tahir is currently offline Muhammad TahirFriend
Messages: 21
Registered: June 2012
Junior Member
I can't use Navigator view. Because I need to show only files that contains GUI components. Before this I need to parse the file first and check is that file has GUI components or not. So I need to filter the contents on runtime.
Re: How can I use eclipse default package explorer to create my own package explorer [message #902185 is a reply to message #902165] Thu, 16 August 2012 09:22 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 16.08.2012 10:13, Muhammad Tahir wrote:
> I can't use Navigator view. Because I need to show only files that
> contains GUI components. Before this I need to parse the file first
> and check is that file has GUI components or not. So I need to filter
> the contents on runtime.
I see. In that case you either want to use the Common Navigator
framework to build your own view or you provide extensions to the
existing 'Project Explorer' view (take a look at the
org.eclipse.ui.navigator.* extension points).

Dani
Re: How can I use eclipse default package explorer to create my own package explorer [message #902318 is a reply to message #902185] Fri, 17 August 2012 03:29 Go to previous messageGo to next message
Muhammad Tahir is currently offline Muhammad TahirFriend
Messages: 21
Registered: June 2012
Junior Member
Thanks for your reply. I am just wondering that is this would be more better for me to change org.eclipse.jdt.ui plugin directly?
Re: How can I use eclipse default package explorer to create my own package explorer [message #902329 is a reply to message #902318] Fri, 17 August 2012 06:11 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 17.08.2012 05:29, Muhammad Tahir wrote:
> Thanks for your reply. I am just wondering that is this would be more
> better for me to change org.eclipse.jdt.ui plugin directly?
It is, because the Package Explorer is not meant to be extended and is
internal.

Dani
Previous Topic:Juno - Spurious warning: Resource Leak
Next Topic:activePerspective in workbench.xml not starting
Goto Forum:
  


Current Time: Fri Apr 19 10:39:00 GMT 2024

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

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

Back to the top