Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Eclipse4/RCP/Modeled UI/Modifying the Model
< Eclipse4 | RCP | Modeled UI
Revision as of 13:46, 11 April 2011 by Unnamed Poltroon (Talk) (New page: The Eclipse 4 application model is backed by interfaces exposing simple POJO methods. Please see below for some sample code. <source lang="java"> // change the label of a menu item menuIt...)
The Eclipse 4 application model is backed by interfaces exposing simple POJO methods. Please see below for some sample code.
// change the label of a menu item menuItem.setLabel("New Name"); // mark a part as being dirty part.setDirty(true); // get a list of child windows List<MWindow> childWindows = mainWindow.getWindows();