User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
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().getActiveWorkbenchWindow().getActivePage().getActiveEditor().getEditorInput().getName();
but there I won´t get the object of the underlying model, but only the
filename, where the object is stored.