Invoking a GEF application / getSite [message #193499] |
Fri, 26 August 2005 13:29 |
Eclipse User |
|
|
|
Originally posted by: jglarson.traxcorp.com
I'm trying to start a GEF application programmatically (i.e. click on a
button an the GEF application starts up) - but when initializing, the
function getSite() returns null. How do I "setSite(...)? I'm extending
"GraphicalEditorWithPalette", and borrowing code extensively from the
SWT/JFace in action example.
|
|
|
Re: Invoking a GEF application / getSite [message #193560 is a reply to message #193499] |
Fri, 26 August 2005 14:23 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
You're just trying to open an editor, right? Use something like:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().openEdi
tor(...);
"Jeff Larson" <jglarson@traxcorp.com> wrote in message
news:den5cd$3up$1@news.eclipse.org...
> I'm trying to start a GEF application programmatically (i.e. click on a
> button an the GEF application starts up) - but when initializing, the
> function getSite() returns null. How do I "setSite(...)? I'm extending
> "GraphicalEditorWithPalette", and borrowing code extensively from the
> SWT/JFace in action example.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03460 seconds