PerspectiveBar issue [message #92989] |
Thu, 12 June 2008 04:19 |
Eclipse User |
|
|
|
Originally posted by: dnise.hotmail.com
Hi All:
In my application,there are three perspectives.In order to switch
perspective, I have two options for completing it .First,
setShowPerspectiveBar(true).this is a simple and easy method.
Second, I can implement my own perspective. But in first option,it will show
all perspectives in my application when I click "OpenPerspective" Button.
when some user has no authorization entrying into some Perspectives . So
there is a big problem.I think we'd better not show the perspective text
or icon to user. So if I want to show perspectives on the basis of user's
authorization,how should I do ?
Appreciate for any ideas or helps.
dnise
|
|
|
Re: PerspectiveBar issue [message #93184 is a reply to message #92989] |
Fri, 13 June 2008 06:15 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
dnise,
it looks like you need to implement our own perspective swithcer.
In the sandbox, there is the "Webstyle Mailsdemo" that already does
this, have a look there to start.
Cheers,
Rüdiger
dnise wrote:
> Hi All:
> In my application,there are three perspectives.In order to switch
> perspective, I have two options for completing it .First,
> setShowPerspectiveBar(true).this is a simple and easy method.
> Second, I can implement my own perspective. But in first option,it will show
> all perspectives in my application when I click "OpenPerspective" Button.
> when some user has no authorization entrying into some Perspectives . So
> there is a big problem.I think we'd better not show the perspective text
> or icon to user. So if I want to show perspectives on the basis of user's
> authorization,how should I do ?
>
> Appreciate for any ideas or helps.
>
> dnise
>
>
>
|
|
|
Re: PerspectiveBar issue [message #93240 is a reply to message #93184] |
Fri, 13 June 2008 08:24 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Sorry, I forgot to mention the link. Instructions on how to check
out the "Webstyle Maildemo" can be found here:
http://www.eclipse.org/rap/sandbox.php
Rüdiger Herrmann wrote:
> dnise,
>
> it looks like you need to implement our own perspective swithcer.
> In the sandbox, there is the "Webstyle Mailsdemo" that already does
> this, have a look there to start.
>
> Cheers,
> Rüdiger
>
> dnise wrote:
>> Hi All:
>> In my application,there are three perspectives.In order to switch
>> perspective, I have two options for completing it .First,
>> setShowPerspectiveBar(true).this is a simple and easy method.
>> Second, I can implement my own perspective. But in first option,it
>> will show
>> all perspectives in my application when I click "OpenPerspective" Button.
>> when some user has no authorization entrying into some Perspectives . So
>> there is a big problem.I think we'd better not show the perspective text
>> or icon to user. So if I want to show perspectives on the basis of user's
>> authorization,how should I do ?
>>
>> Appreciate for any ideas or helps.
>>
>> dnise
>>
>>
>>
|
|
|
Re: PerspectiveBar issue [message #93488 is a reply to message #93240] |
Mon, 16 June 2008 01:43 |
Eclipse User |
|
|
|
Originally posted by: dnise.hotmail.com
Rüdiger Herrmann wrote:
> Sorry, I forgot to mention the link. Instructions on how to check
> out the "Webstyle Maildemo" can be found here:
> http://www.eclipse.org/rap/sandbox.php
>
> Rüdiger Herrmann wrote:
>> dnise,
>>
>> it looks like you need to implement our own perspective swithcer.
>> In the sandbox, there is the "Webstyle Mailsdemo" that already does
>> this, have a look there to start.
>>
>> Cheers,
>> Rüdiger
>>
>> dnise wrote:
>>> Hi All:
>>> In my application,there are three perspectives.In order to
>>> switch
>>> perspective, I have two options for completing it .First,
>>> setShowPerspectiveBar(true).this is a simple and easy method.
>>> Second, I can implement my own perspective. But in first option,it
>>> will show
>>> all perspectives in my application when I click "OpenPerspective"
>>> Button. when some user has no authorization entrying into some
>>> Perspectives . So
>>> there is a big problem.I think we'd better not show the perspective
>>> text or icon to user. So if I want to show perspectives on the basis of
>>> user's authorization,how should I do ?
>>>
>>> Appreciate for any ideas or helps.
>>>
>>> dnise
>>>
>>>
>>>
HI Rudiger:
Thanks for your reply.I have gotten it .
|
|
|
Re: PerspectiveBar issue [message #93562 is a reply to message #92989] |
Mon, 16 June 2008 07:56 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
it should be possible to use activities to solve your problem. With the
3.4 codebase there is an expansion to implement 'enabledWhen' conditions
to activity extensions. I've never done this by myself, so please refer
to the documentation of the respective extension-points
(org.eclipse.ui.activities, org.eclipse.ui.activitySupport).
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: dnise [mailto:dnise@hotmail.com]
Bereitgestellt: Donnerstag, 12. Juni 2008 06:19
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: PerspectiveBar issue
Betreff: PerspectiveBar issue
Hi All:
In my application,there are three perspectives.In order to
switch
perspective, I have two options for completing it .First,
setShowPerspectiveBar(true).this is a simple and easy method.
Second, I can implement my own perspective. But in first option,it will
show
all perspectives in my application when I click "OpenPerspective"
Button.
when some user has no authorization entrying into some Perspectives . So
there is a big problem.I think we'd better not show the perspective
text
or icon to user. So if I want to show perspectives on the basis of
user's
authorization,how should I do ?
Appreciate for any ideas or helps.
dnise
|
|
|
Powered by
FUDForum. Page generated in 0.04284 seconds