Difference: DpHipeTools (36 vs. 37)

Revision 372009-04-03 - JavierDiaz

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

Adding Tools to HIPE

Line: 197 to 197
  parameter.setModifier(new MyModifer());
Changed:
<
<
Warning, important If a modifier is associated to a task parameter in the task constructor, like in the example above, it is instantiated during initialization, when the task is created. This means that the JComponents used for your Modifier may not have the same GUI theme than the application, because the GUI theme is set just after the initialization of the registry. In that case, you may consider to write a custom Signature Component instead, which would be instantiated after the theme is set.
>
>
Warning, important If a modifier is associated to a task parameter in the task constructor, like in the example above, it is instantiated during initialization, when the task is created. This means that the JComponents used for your Modifier may not have the same GUI theme than the application, because the GUI theme is set just after the initialization of the registry. In that case, you may consider to write a custom Signature Component instead, which would be instantiated after the theme is set. Not only the theme is wrong but, as is the case with JComboBoxes (JOptionModifier), the component may not behave properly when actioned.
 
 
This site is powered by the TWiki collaboration platform Powered by Perl