Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Plugin : Extending the PHP Explorer?(How to extend the PHPExplorer Navigator in a plug-in)
Plugin : Extending the PHP Explorer? [message #660724] Mon, 21 March 2011 12:18 Go to next message
Alex  is currently offline Alex Friend
Messages: 5
Registered: March 2011
Junior Member
Hello everybody!

After few days of code, I created a plugin that changes the background color specific items on a navigator.

Well, it works fine, but there is a lack of features as I'm using eclipse PDT as IDE and for my plug-in and I extended the class CommonNavigator...

I would like to have your help, to know how I can proceed to extend the PHPExplorer navigator instead?

I tried few thing but nothing worked for me...


Thanks a lot helping me doing this Wink

PS : If you want to try my plug-in, you can go to my freshly created blog : http://www.dipherence.com/2011/03/20/full-coloured-eclipse-n avigator-plug-in/

Thank you!
Re: Plugin : Extending the PHP Explorer? [message #661756 is a reply to message #660724] Sun, 27 March 2011 13:26 Go to previous messageGo to next message
Alex  is currently offline Alex Friend
Messages: 5
Registered: March 2011
Junior Member
UP? Sad
Don't tell me it's impossible ! Smile
Re: Plugin : Extending the PHP Explorer? [message #661806 is a reply to message #661756] Mon, 28 March 2011 03:33 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
I'm not clear what kind of problem you have.
Such as "doesn't work" is meaningless.
Re: Plugin : Extending the PHP Explorer? [message #661848 is a reply to message #661806] Mon, 28 March 2011 09:13 Go to previous messageGo to next message
Alex  is currently offline Alex Friend
Messages: 5
Registered: March 2011
Junior Member
Well, sorry, I'll try to be more precise.

I tried to extend PHPExplorer as I did for CommonNavigator.

The PHPExplorer class was apparently not made for class extension as it doesn't appears in eclipse in a package (I imported all the PDT packages), so I do not know what to extend.

I also tried to copy the PDT sources and put it in my project but lots of classes returned compilation errors so I guess that it's not the right way to do it.

I don't know if my problem is now more understandable, I hope so Smile

I just want some directions to know how to do the same for the PHPExplorer navigator, as I did for the CommonNavigator.

Thank you =)
Re: Plugin : Extending the PHP Explorer? [message #662037 is a reply to message #661848] Tue, 29 March 2011 01:58 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
???
You have Eclipse SDK, if you installed PDT SDK on it, you can create plugins based on PDT.
Basic steps for example, for example,
1. Install Eclipse SDK
2. Install PDT SDK Feature on it from helios repository(Install New Software>Helios)
3. Create new plugin project
4. Add following plugins to 'Dependencies'
org.eclipse.php.core
org.eclipse.php.ui
org.eclipse.dltk.core
org.eclipse.dltk.ui
5. Create new class which extends PHPExplorerPart instead of CommonNavigator?
Previous Topic:xdebug sometimes slow and path mapping
Next Topic:How to connect to my local database server
Goto Forum:
  


Current Time: Fri Apr 26 14:06:04 GMT 2024

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

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

Back to the top