[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] implementing global action in ApplicationWorkbench

hello
I have implemented the global actions in the controls of the Editors in the following way

final Action cutSelected = new Action() {
			public void run() {
				styledText.cut();
			}
		};
		//
		getEditorSite().getActionBars().setGlobalActionHandler(ActionFactory.CUT.getId(), cutSelected);



Now the problem is there is a control in ApplicationWorkbench. how can I implement the global actions in that control?

Thanks