Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Capella/FlexibilityWizards"

(created page)
 
(No difference)

Latest revision as of 08:25, 16 October 2017

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.

Back to the top