Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » get project name
get project name [message #252311] Mon, 14 June 2004 10:32 Go to next message
Eclipse UserFriend
Originally posted by: solenn.arnaldi.tni-software.com

Hello!!

I would like to know how to get the project name in Java.

Thanks a lot

Solenn
Re: get project name [message #252459 is a reply to message #252311] Mon, 14 June 2004 16:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

Solenn wrote:
> I would like to know how to get the project name in Java.

Please be more specific - how about IProject.getName(); ? :)

--
Sam Mesh - http://openrules.com
Re: get project name [message #252620 is a reply to message #252459] Tue, 15 June 2004 04:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: solenn.arnaldi.tni-software.com

In fact, I want to know the projects' name in the explorer.


Sam Mesh wrote:

> Solenn wrote:
> > I would like to know how to get the project name in Java.

> Please be more specific - how about IProject.getName(); ? :)
Re: get project name [message #252623 is a reply to message #252620] Tue, 15 June 2004 04:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.doe.none.net

Do you want the list of the projects in the ressource view?


> In fact, I want to know the projects' name in the explorer.


> Sam Mesh wrote:

> > Solenn wrote:
> > > I would like to know how to get the project name in Java.

> > Please be more specific - how about IProject.getName(); ? :)
Re: get project name [message #252626 is a reply to message #252623] Tue, 15 June 2004 04:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: solenn.arnaldi.tni-software.com

yes, I want it!! :-)

anonymous wrote:

> Do you want the list of the projects in the ressource view?


> > In fact, I want to know the projects' name in the explorer.


> > Sam Mesh wrote:

> > > Solenn wrote:
> > > > I would like to know how to get the project name in Java.

> > > Please be more specific - how about IProject.getName(); ? :)
Re: get project name [message #252638 is a reply to message #252626] Tue, 15 June 2004 05:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mehaut.xavier.free.fr

Solenn,
You can try this :
org.eclipse.core.resources.ResourcesPlugin.getWorkspace().ge tRoot().getProjects();
Don't forget to refrence the plugin org.eclipse.core.resources in your
build.xml file.
regards
Xavier

> yes, I want it!! :-)

> anonymous wrote:

> > Do you want the list of the projects in the ressource view?


> > > In fact, I want to know the projects' name in the explorer.


> > > Sam Mesh wrote:

> > > > Solenn wrote:
> > > > > I would like to know how to get the project name in Java.

> > > > Please be more specific - how about IProject.getName(); ? :)
Re: get project name [message #253365 is a reply to message #252638] Wed, 16 June 2004 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ddmonner.rockwellcollins.com

Anyone know how to get the name of the project currently selected in the
Resource Navigator (ie, the project that has its properties returned when
using the menu command Project -> Properties)?

"xavier mehaut" <mehaut.xavier@free.fr> wrote in message
news:cameoa$le0$1@eclipse.org...
> Solenn,
> You can try this :
>
org.eclipse.core.resources.ResourcesPlugin.getWorkspace().ge tRoot().getProje
cts();
> Don't forget to refrence the plugin org.eclipse.core.resources in your
> build.xml file.
> regards
> Xavier
>
> > yes, I want it!! :-)
>
> > anonymous wrote:
>
> > > Do you want the list of the projects in the ressource view?
>
>
> > > > In fact, I want to know the projects' name in the explorer.
>
>
> > > > Sam Mesh wrote:
>
> > > > > Solenn wrote:
> > > > > > I would like to know how to get the project name in Java.
>
> > > > > Please be more specific - how about IProject.getName(); ? :)
>
>
Re: get project name [message #253443 is a reply to message #253365] Wed, 16 June 2004 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It depends on from where you are asking. Where are you asking from, an
action, something else? Someplaces you may not even be able to know.


--
Thanks, Rich Kulp

Previous Topic:creating stand alone applications from plug-ins
Next Topic:update manager disables RCP-based application
Goto Forum:
  


Current Time: Fri Oct 31 17:04:13 EDT 2025

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

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

Back to the top