Difference: DpHipePreferences (3 vs. 4)

Revision 42009-06-24 - JaimeSaiz

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

HIPE Preferences

Line: 254 to 254
  There may be three different situations:
Changed:
<
<

Brand new preferences

>
>

1. Brand new preferences

  If you create new preferences that have no correspondence to existing properties, all we have seen till now should be enough for you; you don't need to worry about properties.
Changed:
<
<

Take a property as default value

>
>

2. Take a property as default value

  The more common situation may be that you want to migrate some existing property to the new preferences mechanism.
Line: 277 to 278
 
Changed:
<
<

Maintain the old property mechanism

>
>

3. Maintain the old property mechanism

  Although the previous two approaches are recommended, it may be the case that you cannot use UserPreferences in your client code, for example because your module cannot depend on ia_gui_kernel, but still want to provide a panel for the user in the preferences window.
Line: 299 to 300
 

In this case, the property would also be used as default value, if existing.

Added:
>
>
 

Allowed types for preferences

 
This site is powered by the TWiki collaboration platform Powered by Perl