[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.emf] Re: EMF in standalone applications

Ed,

I'm not intimately familiar with all the dependencies of the generated
model, .edit, and .editor plugins with the forthcoming 3.0 compatible
driver.  But if these don't depend on any plugins not provided by the RCP
(such as JDT plugins), then the editor should work just fine.

The developer will just have to provide a simple application plugin (or
extend the .editor plugin) to extend the extension points
org.eclipse.core.runtime.applications and org.eclipse.ui.perspectives (a
default perspetive is required) and provide a WorkbenchAdvisor
implementation. All this should be quite simple. Take a look at this
tutorial to get an idea:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-ui-home/rcp-proposal/rcp_tutorial/index.html.
Maybe this is even something that could be generated by EMF?

Hopefully you'll be able to get an 3.0 M5 compatible driver out this week
:-)

--knut

"Ed Merks" <merks@xxxxxxxxxx> wrote in message
news:3FD4701E.F14779CA@xxxxxxxxxxxxx
> Knut,
>
> Thanks for pointing out that the EMF.Edit support does work standalone.
It's only the
> integrated editors that require Eclipse.  Unfortunately, I haven't looked
at the rich client
> stuff yet, so I'm not sure if there's anything we need to do to support
it.  What do you
> think will be involved?  (We are up and running with JDK 1.4 and Eclipse
3.0 M5 internally
> now, so maybe that's all that's needed.)
>
>
> Knut Wannheden wrote:
>
> > I've used the .edit plugins in standalone applications. Works great!
> >
> > Do you already have plans to get the .editor part working with the
> > forthcoming Rich Client Platform of Eclipse 3.0?
> >
> > --knut
> >
> > "Ed Merks" <merks@xxxxxxxxxx> wrote in message
> > news:3FCF8A63.6CE6BC9D@xxxxxxxxxxxxx
> > > Rajesh,
> > >
> > > The .edit projects can be used standalone (although you'd need to put
the
> > plugin.properties and
> > > icons into a resource jar), but the .editor projects are tightly
> > integrated Eclipse components
> > > that will only function within an Eclipse environment.
> > >
> > >
> > > Rajesh Kumar wrote:
> > >
> > > > The FAQ on the website does not mention the generated "editor"
plugin
> > > > when it talks about standalone execution of the EMF model. Is there
a
> > > > clean way to use the generated editor in a standalone application?
> > > >
> > > > all comments/suggestions are greatly appreciated.
> > > >
> > > > Rajesh Kumar wrote:
> > > > > The entry in the FAQ about whether EMF models can be used in
> > standalone
> > > > > applications at
> > > > >
> >
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/emf-home/faq.html#dev_standalone
> > > > >
> > > > >  leaves several questions unanswered.
> > > > >
> > > > > By 'EMF model' is it just talking about the generated java files
in
> > the
> > > > > plugin project and not about the corresponding "edit" and "editor"
> > > > > plugins projects? In particular how does the standalone
application
> > > > > invoke the plugin editor?Is it possible to use the generated
"editor"
> > > > > plugin in a standalone application? How does the main program
> > > > > communicate with the editor (such as if it needs to pass the names
of
> > > > > files with which the editor is to start up)?
> > > > >
> > > > > Is there some document which can give me the answers to these
> > questions?
> > > > >
> > > > > thanks for considering,
> > > > > -rajesh
> > > > >
> > >
>