Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get an Editor from within an Action
How to get an Editor from within an Action [message #463838] Fri, 16 February 2007 08:31
Eclipse UserFriend
Originally posted by: C.O'Mahony.pilz.ie

Hi,

I have a class that extends Action and implements ICheatSheetAction and
from within this class I need to get a reference to an EditorPart.

Other similar Actions in the application implemement Action and extend
IEditorActionDelegate and are able to get a reference to the editor
through setActiveEditor(IAction action, IEditorPart targetEditor)

Is there any way I can do this from within my implemented
ICheatSheetAction class? Or any way I can get access to any Editor?

Many thanks
Conor
Previous Topic:Application error?
Next Topic:Use cases for org.eclipse.equinox.app.IApplication
Goto Forum:
  


Current Time: Wed Mar 26 17:09:24 EDT 2025

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

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

Back to the top