droidContext.getSelectedProfile().getProfile().setFilter(filterContext);
if (applyValuesToContext()) {
getDroidContext().getSelectedProfile().getProfile().setDirty(true);
ProfileForm profileToFilter = getDroidContext().getSelectedProfile();
ApplyFilterToTreeTableAction applyFilterToTreeAction =
new ApplyFilterToTreeTableAction(profileToFilter, getProfileManager());
applyFilterToTreeAction.applyFilter();
dispatchEvent(new WindowEvent(this, WindowEvent.WINDOW_CLOSING));
}
//ApplyFilterAction applyFilterAction = new ApplyFilterAction();
//applyFilterAction.applyFilter(this);