I modified the interface so that the refactoring is done in two steps:
- on construction, check selection and source validity and collect datas
to prepare the refactoring (locale variable node and occurrences)
- on apply, just make the necessary transformation with the specified
parameter.
Splitting the refactoring this away allow us to provide some information
in the user interface (e.g. old locale variable name).
Baptiste.
|