import java.util.EnumSet;
import java.util.List;
+import javax.swing.Icon;
+
import jalview.viewmodel.AlignmentViewport;
import jalview.ws.params.ArgumentI;
import jalview.ws2.api.CredentialType;
String getName();
/**
+ * Get the full name of the action consisting of the service name and the
+ * action name if present.
+ *
+ * @return full name of this action
+ */
+ default String getFullName()
+ {
+ var name = getName();
+ if (name == null || name.isEmpty())
+ return getWebService().getName();
+ else
+ return getWebService().getName() + " " + name;
+ }
+
+ /**
* Get the tooltip for the action which contains extra details about the
* action.
*