Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes Building a non-file based Eclipse plug-in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Building a non-file based Eclipse plug-in" Watch "Building a non-file based Eclipse plug-in" New topic
Author

Building a non-file based Eclipse plug-in

Jeff Pierce
Greenhorn

Joined: Jan 04, 2002
Posts: 13
I don't want to be required to have a project that maps to a directory on the file system. The resources that I want to navigate/edit/manage don't exist on the file system either, they exist in my "app server". An example of this type of application could be a web site browser where you point your Eclipse project at a URL and what appears is a navigator view of the web site, a simple properties page, and an HTML editor. Another example might be if you have a J2EE application and your model is a bunch of EJBs you want access to from Eclipse.

Is this possible? If so, where is a good place to start? What objects within Eclipse should I be focusing on?

Thanks.
Morten Moeller
Ranch Hand

Joined: Nov 26, 2001
Posts: 30
Actually, Eclipse isn't built very well to handle this. Most of the resource framework, the resource navigator etc is tightly coupled to a file based system.

You can still create views and editors of course that isn't file based. You just have to create your own IEditorInput etc. But it is hard/impossible to leverage existing plug-ins in your systems.

But, if you want better non-file support, go vote for:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=37723
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Building a non-file based Eclipse plug-in
 
Similar Threads
Error deploying simple servlet
Servlet auto redirect to another page
Eclipse and EAR projects
How to get Eclipse working with my bunch of .java and .class files?
In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the