Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » disable "Show All Wizards" check box when using activities
disable "Show All Wizards" check box when using activities [message #332938] Fri, 14 November 2008 17:07 Go to next message
Mircea Luchian is currently offline Mircea LuchianFriend
Messages: 89
Registered: July 2009
Member
Hello,

Is there a way in Eclipse 3.4.1 to remove the "Show All Wizards" check
box when hiding new wizards with activities? I have some plugin
contributions that I don't want the user to make them appear in my
application.

Thanks,

Mircea
Re: disable "Show All Wizards" check box when using activities [message #333051 is a reply to message #332938] Fri, 21 November 2008 19:58 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mircea Luchian wrote:
> Hello,
>
> Is there a way in Eclipse 3.4.1 to remove the "Show All Wizards" check
> box when hiding new wizards with activities? I have some plugin
> contributions that I don't want the user to make them appear in my
> application.

Normal activities will always show that checkbox (as they're designed to
unclutter the interface until the user wants more). In 3.4 there are
expression based activities that will remove the wizard completely and
don't add the "Show All Wizards" checkbox.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: disable "Show All Wizards" check box when using activities [message #333062 is a reply to message #333051] Mon, 24 November 2008 08:47 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Paul Webster wrote:
> Mircea Luchian wrote:
>> Hello,
>>
>> Is there a way in Eclipse 3.4.1 to remove the "Show All Wizards" check
>> box when hiding new wizards with activities? I have some plugin
>> contributions that I don't want the user to make them appear in my
>> application.
>
> Normal activities will always show that checkbox (as they're designed to
> unclutter the interface until the user wants more). In 3.4 there are
> expression based activities that will remove the wizard completely and
> don't add the "Show All Wizards" checkbox.

I'm impressed, although I wonder concerning the nomenclature of
"expression-based activities". AFAIK "classic" expressions already
allow (regular) expressions to restrict them. If I read your
intention correctly, it seems that the core command expressions
can be used to control activities - is that right? And they are
available as of Eclipse 3.4?

It would be very nice, if you could give us a pointer to an
example which shows these extended use-cases of activities
combined with core expressions.

Thanks in advance,

Daniel Krügler
Re: disable "Show All Wizards" check box when using activities [message #333071 is a reply to message #333062] Mon, 24 November 2008 13:44 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Daniel Krügler wrote:
> I'm impressed, although I wonder concerning the nomenclature of
> "expression-based activities". AFAIK "classic" expressions already
> allow (regular) expressions to restrict them. If I read your
> intention correctly, it seems that the core command expressions
> can be used to control activities - is that right? And they are
> available as of Eclipse 3.4?

Yes, available in 3.4. The examples that we have is a small entry in
the help at
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench_advext_activities.htm
plus an implementation in org.eclipse.ui.examples.contributions in CVS.

They were added under bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201052

Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: disable "Show All Wizards" check box when using activities [message #333073 is a reply to message #333071] Mon, 24 November 2008 15:01 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Paul Webster wrote:
> Daniel Krügler wrote:
>> I'm impressed, although I wonder concerning the nomenclature of
>> "expression-based activities". AFAIK "classic" expressions already
>> allow (regular) expressions to restrict them. If I read your
>> intention correctly, it seems that the core command expressions
>> can be used to control activities - is that right? And they are
>> available as of Eclipse 3.4?
>
> Yes, available in 3.4. The examples that we have is a small entry in
> the help at
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench_advext_activities.htm
> plus an implementation in org.eclipse.ui.examples.contributions in CVS.
>
> They were added under bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=201052

Thanks Paul, for this IMO quite important and powerful
extension of activities! We considered using activities in
our original RCP design but withdraw them because of just
this (for us) unwanted effect, that any user can auto-promote
to a some kind of "super-user" and thus can circumvent
a programmer-intended barrier - just the issue the OP
mentioned!

I wonder why this new feature had not been emphasized more
strongly in the release readme? - it really would have been
worth it!

- Daniel Krügler
Re: disable "Show All Wizards" check box when using activities [message #333079 is a reply to message #333071] Mon, 24 November 2008 20:13 Go to previous messageGo to next message
Mircea Luchian is currently offline Mircea LuchianFriend
Messages: 89
Registered: July 2009
Member
Thank you Paul,

I will check the help file and share my findings.

Mircea


Paul Webster wrote:
> Daniel Krügler wrote:
>> I'm impressed, although I wonder concerning the nomenclature of
>> "expression-based activities". AFAIK "classic" expressions already
>> allow (regular) expressions to restrict them. If I read your
>> intention correctly, it seems that the core command expressions
>> can be used to control activities - is that right? And they are
>> available as of Eclipse 3.4?
>
> Yes, available in 3.4. The examples that we have is a small entry in
> the help at
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench_advext_activities.htm
> plus an implementation in org.eclipse.ui.examples.contributions in CVS.
>
> They were added under bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=201052
>
> Later,
> PW
>
Re: disable "Show All Wizards" check box when using activities [message #333096 is a reply to message #333073] Tue, 25 November 2008 20:22 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

>
> I wonder why this new feature had not been emphasized more
> strongly in the release readme? - it really would have been
> worth it!
>

It's an added enhancement, but activities are about UI simplification
and progressive disclosure to advanced users and are not really more
than a cosmetic security feature :-)

The expression based activities 1) remove items more completely (which
is why you can't get them back with a show all) and 2) don't allow the
user to modify them (their state is entirely based on the expression,
not anything else).

There is some good work at the equinox level to do with security, but I
haven't seen a good story for propagating it up to the UI

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Problems sending simple emails
Next Topic:Disabling A Context Menu Item Depending On Where You Are In A Tree
Goto Forum:
  


Current Time: Wed Apr 24 19:25:53 GMT 2024

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

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

Back to the top