19 package org.sleuthkit.autopsy.timeline.actions;
21 import javafx.beans.binding.BooleanBinding;
22 import javafx.event.ActionEvent;
23 import org.controlsfx.control.action.Action;
24 import org.openide.util.NbBundle;
31 @NbBundle.Messages({
"ResetFilters.text=Reset all filters",
32 "RestFilters.longText=Reset all filters to their default state."})
38 this(Bundle.ResetFilters_text(), controller);
43 setLongText(Bundle.RestFilters_longText());
45 disabledProperty().bind(
new BooleanBinding() {
47 bind(eventsModel.zoomParametersProperty());
51 protected boolean computeValue() {
52 return eventsModel.zoomParametersProperty().getValue().getFilter().equals(eventsModel.getDefaultFilter());
55 setEventHandler((ActionEvent t) -> {
ResetFilters(String text, TimeLineController controller)
FilteredEventsModel getEventsModel()
FilteredEventsModel eventsModel
void applyDefaultFilters()
ResetFilters(final TimeLineController controller)