Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Creating an E4 view or editor in the eclipse workbench

There is already a possibility to host e4-parts in views/editors - it is
called the forward-compat-layer.

Tom

On 20.09.16 21:22, Stefan Xenos wrote:
>> The e4 programming model is very powerful and it would be great if we
> could start using it in the IDE.
> 
> I was actually interested for another purpose -- there was some
> discussion on the UX mailing list about the possibility of replacing
> dialog boxes with embedded nonmodal parts. I was considering the
> possibility of building something that could host E4-style parts, but
> wanted to experiment with them a bit first.
> 
> On Tue, Sep 20, 2016 at 6:29 AM Lars Vogel <lars.vogel@xxxxxxxxxxx
> <mailto:lars.vogel@xxxxxxxxxxx>> wrote:
> 
>     Hi Stefan,
> 
>     e4 views work relatively well in the IDE.
>     http://www.vogella.com/tutorials/EclipsePlugin/article.html this one
>     should help you. We describe in detail how to add menu and toolbar.
> 
>     Adding an e4 view is a little bit hidden, see
>     http://www.vogella.com/tutorials/EclipsePlugin/article.html#supporting-part-descriptors-in-an-eclipse-4-5-ide
>     for the short version.
> 
>     For e4 editors in the IDE, the "only" required change is a different
>     tag. The challenge here is that existing plug-ins extensions may not
>     find them.
> 
>     Actually at runtime everything is an e4 element, have a look at
>     ViewRegistry and EditorRegistry where we do the conversion at runtime.
> 
>     We definitely have some missing parts for the e4 story in the IDE,
>     currently Simon, Olivier Prouvost and I are planning to met in
>     November for a week to work on them.
> 
>     Feel free to shoot me an email if the tutorial is unclear or if you
>     need more help. The e4 programming model is very powerful and it would
>     be great if we could start using it in the IDE.
> 
>     Best regards, Lars
> 
> 
>     On Tue, Sep 20, 2016 at 3:17 PM, Stefan Xenos <sxenos@xxxxxxxxxx
>     <mailto:sxenos@xxxxxxxxxx>> wrote:
>     > I'd like to use the E4-style DI for creating an editor in the
>     Eclipse IDE,
>     > but I can't figure out how. The first thing I tried was
>     implementing an
>     > E4-style view and attaching it to an element in the editors
>     extension point,
>     > but it didn't work. :-(
>     >
>     > I've seen some guides describing how to create E4 views, but all
>     of them
>     > seem to be targetted to Eclipse RCP applications. I couldn't find any
>     > information related to the Eclipse IDE.
>     >
>     > Is it even possible?
>     >
>     >   - Stefan
>     >
>     > _______________________________________________
>     > platform-ui-dev mailing list
>     > platform-ui-dev@xxxxxxxxxxx <mailto:platform-ui-dev@xxxxxxxxxxx>
>     > To change your delivery options, retrieve your password, or
>     unsubscribe from
>     > this list, visit
>     > https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
> 
> 
> 
>     --
>     Eclipse Platform UI and e4 project co-lead
>     CEO vogella GmbH
> 
>     Haindaalwisch 17a, 22395 Hamburg
>     Amtsgericht Hamburg: HRB 127058
>     Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
>     USt-IdNr.: DE284122352
>     Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx
>     <mailto:lars.vogel@xxxxxxxxxxx>, Web: http://www.vogella.com
>     _______________________________________________
>     platform-ui-dev mailing list
>     platform-ui-dev@xxxxxxxxxxx <mailto:platform-ui-dev@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
> 
> 
> 
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
> 


-- 
Thomas Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
http://www.bestsolution.at/
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck


Back to the top