Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Create Change Object which does not show-up in the Preview

jdt-ui-dev-bounces@xxxxxxxxxxx wrote on 2008-01-22 12:53:19:

> In the LTK refactoring framework is there a way to create a Change 
Object
> which does not show up when previewed but it(perform()) gets called as 
part
> of createChange.

You could implement this as a subclass of CompositeChange and call 
markAsSynthetic() in the constructor.
Note that non-synthetic children of a CompositeChange will be rendered, so 
you'll have to extend methods like perform(..) to implement your change.

Markus


Back to the top