Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CNF: New project wizard > right-click menu > always enabled
CNF: New project wizard > right-click menu > always enabled [message #332988] Tue, 18 November 2008 10:38 Go to next message
Rahul Kamdar is currently offline Rahul KamdarFriend
Messages: 63
Registered: July 2009
Member
Hi,

I have a wizard for new project. I want to make this wizard always available
in the right-click > New menu. From what I read around the web, it seems
it's a must to use the commonWizard element under the navigatorContent
extensionPoint. I need to know what do I provide in the <enablement> clause
to make it always enabled. I tried using count with value=* but it throws:

org.eclipse.core.runtime.CoreException: The default variable is not of type
java.util.Collection. Failed expression:
org.eclipse.core.internal.expressions.CountExpression@fc8b68b6

Any help would be appreciated.

Thanks,
Rahul
Re: New project wizard > right-click menu > always enabled [message #333057 is a reply to message #332988] Sat, 22 November 2008 10:52 Go to previous messageGo to next message
Rahul Kamdar is currently offline Rahul KamdarFriend
Messages: 63
Registered: July 2009
Member
Ok, I managed to get through this one. Keeping the enablement empty does the
trick (<enablement></enablement>) it seems.

Rahul

"Rahul Kamdar" <rtkamdar@kamdars-india.com> wrote in message
news:gfu5v8$7hl$1@build.eclipse.org...
> Hi,
>
> I have a wizard for new project. I want to make this wizard always
> available in the right-click > New menu. From what I read around the web,
> it seems it's a must to use the commonWizard element under the
> navigatorContent extensionPoint. I need to know what do I provide in the
> <enablement> clause to make it always enabled. I tried using count with
> value=* but it throws:
>
> org.eclipse.core.runtime.CoreException: The default variable is not of
> type java.util.Collection. Failed expression:
> org.eclipse.core.internal.expressions.CountExpression@fc8b68b6
>
> Any help would be appreciated.
>
> Thanks,
> Rahul
>
Re: New project wizard > right-click menu > always enabled [message #333243 is a reply to message #333057] Mon, 01 December 2008 23:57 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
WOuld you mind filing a bug about this to platform UI, I have run into
this problem myself (looking for just having "true" as a value), and we
should make it abundantly clear in the documentation how to easily do this.

Thanks,
Francis

Rahul Kamdar wrote:
> Ok, I managed to get through this one. Keeping the enablement empty does the
> trick (<enablement></enablement>) it seems.
>
> Rahul
>
> "Rahul Kamdar" <rtkamdar@kamdars-india.com> wrote in message
> news:gfu5v8$7hl$1@build.eclipse.org...
>> Hi,
>>
>> I have a wizard for new project. I want to make this wizard always
>> available in the right-click > New menu. From what I read around the web,
>> it seems it's a must to use the commonWizard element under the
>> navigatorContent extensionPoint. I need to know what do I provide in the
>> <enablement> clause to make it always enabled. I tried using count with
>> value=* but it throws:
>>
>> org.eclipse.core.runtime.CoreException: The default variable is not of
>> type java.util.Collection. Failed expression:
>> org.eclipse.core.internal.expressions.CountExpression@fc8b68b6
>>
>> Any help would be appreciated.
>>
>> Thanks,
>> Rahul
>>
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: New project wizard > right-click menu > always enabled [message #335515 is a reply to message #333243] Sat, 11 April 2009 15:07 Go to previous message
Eclipse UserFriend
Originally posted by: me.rahulkamdar.com

Sorry for the delay! Bug filed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=271936

"Francis Upton (News)" <francisu@ieee.org> wrote in message
news:493479F9.9050001@ieee.org...
> WOuld you mind filing a bug about this to platform UI, I have run into
> this problem myself (looking for just having "true" as a value), and we
> should make it abundantly clear in the documentation how to easily do
> this.
>
> Thanks,
> Francis
>
> Rahul Kamdar wrote:
>> Ok, I managed to get through this one. Keeping the enablement empty does
>> the trick (<enablement></enablement>) it seems.
>>
>> Rahul
>>
>> "Rahul Kamdar" <rtkamdar@kamdars-india.com> wrote in message
>> news:gfu5v8$7hl$1@build.eclipse.org...
>>> Hi,
>>>
>>> I have a wizard for new project. I want to make this wizard always
>>> available in the right-click > New menu. From what I read around the
>>> web, it seems it's a must to use the commonWizard element under the
>>> navigatorContent extensionPoint. I need to know what do I provide in the
>>> <enablement> clause to make it always enabled. I tried using count with
>>> value=* but it throws:
>>>
>>> org.eclipse.core.runtime.CoreException: The default variable is not of
>>> type java.util.Collection. Failed expression:
>>> org.eclipse.core.internal.expressions.CountExpression@fc8b68b6
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks,
>>> Rahul
>>>
>>
>>
>
>
> --
> *new* Common Navigator Framework section in:
> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
> http://dev.eclipse.org/blogs/francis
> http://wiki.eclipse.org/Common_Navigator_Framework
> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>
>
> You have brains in your head.
> You have feet in your shoes.
> - Dr Seuss, Oh the Places You'll Go
Previous Topic:Problems with WorkspaceModifyOperation and IProgressService.run(...)
Next Topic:eclipse.org/examples vs. platform examples
Goto Forum:
  


Current Time: Thu Apr 25 18:49:10 GMT 2024

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

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

Back to the top