Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » working with content in IWorkbenchWindowActionDelegate
working with content in IWorkbenchWindowActionDelegate [message #57712] Tue, 26 April 2005 15:02
Eclipse UserFriend
Originally posted by: PrinceGecko.lycos.de

Hi,

I´m building an Eclipse Plugin and want to add an action to a menu where
I can work with the content (graphical, GEF) of my document.
I started with the Hello-World example and want to bring up a window
with the name of the selected element (editpart) of my content window.
Is there a sample where I might find how to access the content?
I tried
MyPlugin.getDefault().getWorkbench().getActiveWorkbenchWindo w().getActivePage().getActiveEditor().getEditorInput().getNa me();
but there I won´t get the object of the underlying model, but only the
filename, where the object is stored.

Thanks for any help in advance.

Flo
Previous Topic:creating a run-time version
Next Topic:Problem with problems view
Goto Forum:
  


Current Time: Sat Sep 28 17:53:19 GMT 2024

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

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

Back to the top