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

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.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.