this.container = container;
}
@Override
public void open(final FileFilterOptionsPanel panel) {
InputPanelOverlay overlay = new InputPanelOverlay(panel, Strings.get("FileFilterOptions.Title")) {
@Override
protected void onOk() {
updateOptions(panel.getOptions(), true);
}
};
overlay.setFocusReceiverWhenClosed(trigger);
overlay.setFadeIn(AnimationPreference.get());
overlay.setAlpha(0.8f);
overlay.useOkAndCancel();
overlay.setBlocking(true);
overlay.show(container, new OverlayRelativePositioner(trigger, new Point(8, 8)));
}