Go to the documentation of this file.
19package org.sleuthkit.autopsy.timeline.ui.detailview;
21import javafx.scene.image.Image;
22import javafx.scene.image.ImageView;
23import org.controlsfx.control.action.Action;
24import org.openide.util.NbBundle;
25import org.sleuthkit.autopsy.timeline.ui.filtering.datamodel.DescriptionFilter;
26import org.sleuthkit.datamodel.TimelineLevelOfDetail;
32@NbBundle.Messages(value = {
"UnhideDescriptionAction.displayName=Unhide"})
33class UnhideDescriptionAction extends Action {
35 private static final Image SHOW =
new Image(
"/org/sleuthkit/autopsy/timeline/images/eye--plus.png");
37 UnhideDescriptionAction(String description, TimelineLevelOfDetail descriptionLoD, DetailsChart chart) {
38 super(Bundle.UnhideDescriptionAction_displayName());
39 setGraphic(
new ImageView(SHOW));
41 setEventHandler(actionEvent -> {
48 chart.getController().getQuickHideFilters().stream()
49 .filter(otherFilterState -> testFilter.equals(otherFilterState.getFilter()))
50 .forEach(descriptionfilter -> descriptionfilter.setSelected(
false));
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.