Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Creating a View of a Project
Creating a View of a Project [message #197974] Thu, 19 February 2004 19:29 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I want to basically create a form of the Project Explorer, but I can not
find out what class implements this. The Project Explorer would seem to
get its input not from some external selection event.

Is it possible for me to create a view that can populate itself without
the need of the selection event fired by some external selection? Is
their a way to query the environment to get a list of available
projects? I am going to create an RCP application eventually and the
ProjectExplorer is really no good for me because All my data is in a
database and not in files.

Need help and or ideas. Thanks!



--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: Creating a View of a Project [message #197999 is a reply to message #197974] Thu, 19 February 2004 20:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

CL [dnoyeb] Gilbert wrote:
> I want to basically create a form of the Project Explorer, but I can not
> find out what class implements this. The Project Explorer would seem to
> get its input not from some external selection event.
>
> Is it possible for me to create a view that can populate itself without
> the need of the selection event fired by some external selection? Is
> their a way to query the environment to get a list of available
> projects? I am going to create an RCP application eventually and the
> ProjectExplorer is really no good for me because All my data is in a
> database and not in files.
>
> Need help and or ideas. Thanks!
>
>
>

well I found ResourcesPlugin.getWorkspace.getRoot()
and with the root I can get all the projects with getProjects()
and only the open ones with members();

I think I cna take it from here. Thanks for the consideration.

--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: Creating a View of a Project [message #198029 is a reply to message #197999] Thu, 19 February 2004 21:19 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

>
> well I found ResourcesPlugin.getWorkspace.getRoot()
> and with the root I can get all the projects with getProjects()
> and only the open ones with members();
>
> I think I cna take it from here. Thanks for the consideration.
>

turns out both return the same thing, all projects. I guess I have to
check each one to see if its open. That will work.

--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Previous Topic:Launch Framework newbie questions
Next Topic:File Explorer
Goto Forum:
  


Current Time: Sun Oct 06 07:45:04 GMT 2024

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

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

Back to the top