locationtech / udig-platform

uDig parent project containing all core components. More plugins can be found in community repos: http://github.com/uDig-Community
http://udig.refractions.net
189 stars 133 forks source link

Use updated constructor of class FilteredTree #617

Closed sschulz92 closed 2 years ago

sschulz92 commented 2 years ago

Switch from deprecated constructor to new one:

from (deprecated):

@Deprecated
public FilteredTree(Composite parent, int treeStyle, PatternFilter filter) {
    super(parent, SWT.NONE);
    this.parent = parent;
    init(treeStyle, filter);
}

towards:

public FilteredTree(Composite parent, int treeStyle, PatternFilter filter, boolean useNewLook) {
    super(parent, SWT.NONE);
    this.parent = parent;
    this.useNewLook= useNewLook;
    init(treeStyle, filter);
}
fgdrf commented 2 years ago

I guess we can enable the new look & feel later.

Thanks for the patchset!