Community
Participate
Working Groups
Please refer to enhancement https://bugs.eclipse.org/bugs/show_bug.cgi?id=124950 This bugzilla entry is logged to track model and designer changes.
Can we finish the changes in M6? Thanks Please reassign to Zhiqiang after model changes are done
Model changes are: 1. change the ScalarParameter.defaultValue type to expression type. 2. add two methods: a )getDefaultValue() // User can implement this method to return default value. Note we have anotherbugzilla planned to support multiple default values, this method should support multiple default values if the other change is made. b) b) getSelectionValuelist() // User can implement this method to provide the value list. This method is only called for 'list', 'combo' control parameter type If a user sets the default value and also implements the method, the method value overrides the value set in parameter dialog.
This bug depends on Bugzilla 191445. Currently, the parameter value is treated as constant only. Expect it can be constant/expression to resolve this issue. Cannot simply change the ROM type to expression since now constant in the parameter value is not quoted.
Has changed ScalarParameter.defaultValue to be either expression/string values. Please add two methods.
Add getDefaultvalueListMethod and setDefaultvalueListMethod, getSelectionValueListMethod and setDefaultvalueListMethod in ScalarParameterHandle. Assign GUI.
Synced with new model api. Waiting for final UI mock for remaining changes.
UI will be provided as part of https://bugs.eclipse.org/bugs/show_bug.cgi?id=271177
Fixed it.
verified both in parameter dialog and in script editor.(build 2.5.0 v20090518-1108)