return tree.getComponentAt(pop.getInvokerLocation());
}
static public boolean checkEnabledOnPopup(final AFreeplaneAction action) {
if(action instanceof AWorkspaceAction) {
final CheckEnableOnPopup annotation = action.getClass().getAnnotation(CheckEnableOnPopup.class);
if (annotation != null) {
return true;
}
}
return false;