Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » New file wizard restriction?
New file wizard restriction? [message #212986] Fri, 25 April 2008 21:16 Go to next message
No real name is currently offline No real name
Messages: 13
Registered: July 2009
Junior Member
Is there a way to configure my newWizard extension point wizard to only be
available if the user is in a specific kind of project (say a Dynamic Web
Project)? Ultimately, I would like to specify a list of relevant projects
that can accept my new file, but I can start with one.

Thanks,
Rochelle
Re: New file wizard restriction? [message #213026 is a reply to message #212986] Mon, 28 April 2008 19:45 Go to previous messageGo to next message
Angel Vera is currently offline Angel Vera
Messages: 63
Registered: July 2009
Member

So what would happen in the case where the user wants to use the Menu
toolbar, and selects File -> New -> ????

Would you want the wizard to show..? as far as I know the opton to right
click on a project is just a convience way of launching the "New" submenu,
so all the items that show under File -> New -> would also show for right
click -> New..


raccah@dev.java.net (Rochelle Raccah) wrote in
news:f01c44c9e262ba7edbb61fa5c883287f$1@www.eclipse.org:

> Is there a way to configure my newWizard extension point wizard to
> only be available if the user is in a specific kind of project (say a
> Dynamic Web Project)? Ultimately, I would like to specify a list of
> relevant projects that can accept my new file, but I can start with
> one.
>
> Thanks,
> Rochelle
>
>
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Re: New file wizard restriction? [message #213042 is a reply to message #213026] Tue, 29 April 2008 00:12 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 13
Registered: July 2009
Junior Member
Angel Vera wrote:

> So what would happen in the case where the user wants to use the Menu
> toolbar, and selects File -> New -> ????

If a user does that and selects an item in the wizard with no selected
project or folder, where is it created? I think at some point the wizard
must know this. If the answer is that the wizard should prevent selection
of an unfit location, that is fine, please just tell me how to do so.

Thanks,
Rochelle

> Would you want the wizard to show..? as far as I know the opton to right
> click on a project is just a convience way of launching the "New" submenu,
> so all the items that show under File -> New -> would also show for right
> click -> New..


> raccah@dev.java.net (Rochelle Raccah) wrote in
> news:f01c44c9e262ba7edbb61fa5c883287f$1@www.eclipse.org:

>> Is there a way to configure my newWizard extension point wizard to
>> only be available if the user is in a specific kind of project (say a
>> Dynamic Web Project)? Ultimately, I would like to specify a list of
>> relevant projects that can accept my new file, but I can start with
>> one.
>>
>> Thanks,
>> Rochelle
>>
>>
>>
Re: New file wizard restriction? [message #213117 is a reply to message #213042] Wed, 30 April 2008 14:40 Go to previous message
Angel Vera is currently offline Angel Vera
Messages: 63
Registered: July 2009
Member

Did you try the newsgroup search?

http://www.eclipse.org/newsgroups/index_project.php


See if any of this hit help you:
http://www.google.com/cse?hq=inurl%3Adev.eclipse.org%2FnewsL ists&cx=
017941334893793413703%3Asqfrdtd112s&q=extending+the+new+ wizard&sa=Search

Good luck!


raccah@dev.java.net (Rochelle Raccah) wrote in
news:7f42d8ae88271893b937fff820fb311a$1@www.eclipse.org:

> please just tell me how to do


Regards,
--
Angel Vera
WTP Server Tools Developer
Previous Topic:Where to put JARs that shouldn't be deployed ?
Next Topic:WSDL Editor
Goto Forum:
  


Current Time: Tue Sep 16 01:05:26 GMT 2014

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

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