|
|
Re: Is it possible to build stand alone application with GEF? [message #212081 is a reply to message #211846] |
Fri, 17 March 2006 18:41 |
Eclipse User |
|
|
|
Originally posted by: kd3725.gmail.com
kd3725 wrote:
> Shawn Liu wrote:
>> Is it possible to build stand alone application with GEF? Without RCP
>> and Eclipse.
>>
> I don't see why this can't be done. As long as you include the gef
> plugins as part of your dependencies, it should be ok.
Actually now I have the same question. IFileEditorInput cannot be used
when making an RCP app because RCP will not import org.eclipse.ui.ide
jar. Is there a work around? I was told to implement IPathEditorInput,
but I have no idea what I would fill the methods with since I have not
seen an EditorInput implementation before.
TIA,
Diwant
|
|
|
|
Re: Is it possible to build stand alone application with GEF? [message #212270 is a reply to message #212173] |
Mon, 20 March 2006 16:42 |
Eclipse User |
|
|
|
Originally posted by: kd3725.gmail.com
Nate Snapp wrote:
> Good question,
>
> I saw an answer posted a while back in a GEF/EMF article:
> http://www.eclipse.org/articles/Article-GEF-EMF/gef-emf.html (under the
> section "Bonus: Shapes Example goes RCP!")
>
> Basically we can roll our own editor input with IPathEditorInput (which
> implements the IEditorInput) and change the setInput() function in our
> editor to accept the new editor input we have created.
>
I think I read the same one! However, it doesn't hint to how to
implement the IPathEditorInput interface. Also, I changed my project
includes and now it seems to find IFileEditorInput. I really wish I
knew what I did exactly to make this work, though.
kd3
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds