Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » can't get defined Actions
can't get defined Actions [message #268460] Tue, 24 August 2004 13:11
Eclipse UserFriend
Originally posted by: schneider.alexander.johndeere.com

Hello,

I search a way to set state of an action in a RCP Application.

I create a viewContribution with a set of Actions. The follow
code snipe shows a way to get these Actions as type IContributionItem.

IContributionItem [] items =
getViewSite().getActionBars().getToolbarManager().
getItems();

With a such item object a can only read the state or make it unvisible.
But I want to disable a item. Can someone help me?

thank allot

alexander
Previous Topic:swt_awt and batik
Next Topic:Icons and how to hover them
Goto Forum:
  


Current Time: Sun May 11 19:08:13 EDT 2025

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

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

Back to the top