Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » configure compatibility layer's appModel
configure compatibility layer's appModel [message #1603520] Fri, 06 February 2015 07:58 Go to next message
quest ionnere is currently offline quest ionnereFriend
Messages: 57
Registered: January 2015
Member
Hi all,

as far as I have seen so far the e4 compatibility layer always creates an application model in Workbench.class. This application model always contains certain descriptors.

Is there any way to edit that application model - e.g. add or remove descriptors, set Parts visible or invisible?
As soon as I start the application as an E4Application I won't use the compat layer anymore or am I?
Is there any reading material on how the compat layer actually works and what it does?

thanks in advance
Re: configure compatibility layer's appModel [message #1611859 is a reply to message #1603520] Wed, 11 February 2015 17:02 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 693
Registered: January 2012
Senior Member

The E3.x compat layer is itself an E4 application. It records additional information into the model, just as a pure E4 app would do too. Since it's just an E4 app, you can also change the E4 model and the E3.x CL should respond to those changes. So twiddling part visible flags should work.

None of this additional information recorded in the the model is considered API, however, and it may change between releases with no notification. The only reliable doc is the code itself.

Brian.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: configure compatibility layer's appModel [message #1613225 is a reply to message #1611859] Thu, 12 February 2015 13:56 Go to previous message
quest ionnere is currently offline quest ionnereFriend
Messages: 57
Registered: January 2015
Member
Thank you for your input Brian - it helped me a lot!
Previous Topic:How to close all rcp application windows
Next Topic:customize workbench with compatibility layer
Goto Forum:
  


Current Time: Fri Dec 15 14:08:56 GMT 2017

Powered by FUDForum. Page generated in 0.01583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software