Skip to main content

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.

Jump to: navigation, search

Riena/Custom Ridgets

< Riena
Revision as of 09:49, 5 March 2009 by Frank.schepp.compeople.de (Talk | contribs) (New page: == Custom ridgets == There is a possibility for an application to provide and use its own ridgets and corresponding widgets. To do so a mapping from widget class to ridget class has to be...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Custom ridgets

There is a possibility for an application to provide and use its own ridgets and corresponding widgets. To do so a mapping from widget class to ridget class has to be provided. This is done by adding the desired mapping to the existing mappings of singleton SwtControlRidgetMapper: SwtControlRidgetMapper.getInstance().addMapping(CustomWidget.class, CustomRidget.class) for example. For more details look at the JavaDoc of class SwtControlRidgetMapper.

Back to the top