Bug 460714 - Tag shellMaximized is not taken into an account when it is changed in addon
Summary: Tag shellMaximized is not taken into an account when it is changed in addon
Status: UNCONFIRMED
Alias: None
Product: Efxclipse
Classification: Technology
Component: Runtime (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 10:46 EST by Michał Bocian CLA
Modified: 2015-02-24 10:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bocian CLA 2015-02-24 10:46:54 EST
I want dynamically set the "shelMaximized" tag during the application start. 

I've created an addon which adds this tag when a condition is met:

        final MWindow topLevelWindow = (MWindow)aModelService.find( "mainWindow", aApplication );

        if(logic()){
           topLevelWindow.getTags().add( "shellMaximized " );
        }

Unfortunately the above does not work. However, if I set the tag directly in e4xmi it works.