Go to the documentation of this file.
19package org.sleuthkit.autopsy.coreutils;
21import org.openide.util.Lookup;
22import java.util.ArrayList;
23import java.util.Collection;
25import javax.swing.Action;
26import org.sleuthkit.autopsy.corecomponentinterfaces.ContextMenuActionsProvider;
40 ArrayList<Action>
actions =
new ArrayList<>();
41 Collection<? extends ContextMenuActionsProvider> actionProviders = Lookup.getDefault().lookupAll(
ContextMenuActionsProvider.class);
43 List<Action> providerActions = provider.getActions();
44 if (!providerActions.isEmpty()) {
46 actions.addAll(provider.getActions());
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.