Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Capella/FlexibilityWizards
Random snippets when working with the flexi wizards system
1. How to get a PropertiesContext from an IContext?
String scope = (String) context.get(ITransitionConstants.OPTIONS_SCOPE); IPropertyContext propertyContext = ((IPropertyHandler) OptionsHandlerHelper.getInstance(context)).getPropertyContext(context, scope);
2. How can I add a radio button group with flexiwizards?
Use a normal 'property' and add Option children to them. Then use 'optionRenderer' as the renderer for the property.