[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-ui-dev] command enablement in view toolbar
- From: "Prakash G.R." <grprakash@xxxxxxxxx>
- Date: Thu, 4 Feb 2010 09:48:40 +0530
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Zzvyeaj2AboQfxjLMknIJ6uHmfMb+HsUpmxrTqCtJ5hrEHpn8EJg1uja/xP8T3c3OV 4zk1AGYi3mxb1IbxeI706NHq4IwfjhZnA/ZbZOzxkZ/V5lMypwYcppVet2UITJUs4cmj J/Wg9akyesx0eBY90dE5pSMSha1WOyDWq2Bf4=
This isn't the right place for your questions. Please use eclipse.org/forums
"When the game ends, the king and pawn goes into the same box”
- Italian proverb
On 4 February 2010 03:47, Pawel Piech <pawel.piech@xxxxxxxxxxxxx> wrote:
> I'm trying to use a commands in a view toolbar and I have a problem with
> enablement. My command's enablement should depend on the view in which it
> appears, but the command handler is global so it changes whenever the active
> part changes. This makes the command look broken when my view is not the
> active part.
> I know from looking at commands a couple years back that this was a known
> limitation of the command framework... at the time I gave up on using
> commands for this reason. I've run into this problem again and I'm trying
> to find out whether there is a solution now.
> I've searched through the bugs a bit and I've only found one reference to
> this problem in bug 180203 comment #11. Is there a bug specifically for
> this problem and has it been fixed?
> platform-ui-dev mailing list