19 package org.sleuthkit.autopsy.timeline.actions;
21 import javafx.scene.image.Image;
22 import javafx.scene.image.ImageView;
23 import org.controlsfx.control.action.Action;
24 import org.openide.util.NbBundle;
33 private static final Image
DB_REFRESH =
new Image(
"org/sleuthkit/autopsy/timeline/images/database_refresh.png");
41 "RebuildDataBase.text=Update DB",
42 "RebuildDataBase.longText=Update the DB to include new events."})
44 super(Bundle.RebuildDataBase_text());
45 setLongText(Bundle.RebuildDataBase_longText());
46 setGraphic(
new ImageView(DB_REFRESH));
47 setEventHandler(actionEvent -> controller.
rebuildRepo());
ReadOnlyBooleanProperty eventsDBStaleProperty()
UpdateDB(TimeLineController controller)
static final Image DB_REFRESH