You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Primary actions may be handled differently in the UI (for example, by always showing on the header rather than in an actions dropdown).
57
-
* In almost all cases this should return {@code false} which is the default
58
-
* @return {@code true} iff this action should be considered primary.
57
+
* In almost all cases this should return {@code false} which is the default.
58
+
* Examples of a Primary action would be where actions would be used regularly or they would need to be prominent to convey some status.
59
+
* As a concrete example, an action that provides a Help action with a submenu containing various different links, would be a prime candidate for this to return {@code true}.
60
+
* If your action has the possibility of a {@link #getBadge() badge} then this is another indicator that the action should return {@code true} (or otherwise restructured).
61
+
* @return {@code true} if and only if this action should be considered primary.
0 commit comments