mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
Added annotations and small description in AnActionEvent
GitOrigin-RevId: 903f40754661707cf53c38a667dc672d5d5ad8db
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d5f432ab81
commit
54b70615cf
@@ -20,18 +20,18 @@ import java.awt.event.InputEvent;
|
||||
*/
|
||||
public class AnActionEvent implements PlaceProvider {
|
||||
|
||||
private final InputEvent myInputEvent;
|
||||
private final ActionManager myActionManager;
|
||||
private final DataContext myDataContext;
|
||||
private final String myPlace;
|
||||
private final Presentation myPresentation;
|
||||
private final @Nullable InputEvent myInputEvent;
|
||||
private final @NotNull ActionManager myActionManager;
|
||||
private final @NotNull DataContext myDataContext;
|
||||
private final @NotNull @NonNls String myPlace;
|
||||
private final @NotNull Presentation myPresentation;
|
||||
@JdkConstants.InputEventMask
|
||||
private final int myModifiers;
|
||||
private final boolean myIsContextMenuAction;
|
||||
private final boolean myIsActionToolbar;
|
||||
|
||||
private boolean myWorksInInjected;
|
||||
private UpdateSession myUpdateSession = UpdateSession.EMPTY;
|
||||
private @NotNull UpdateSession myUpdateSession = UpdateSession.EMPTY;
|
||||
|
||||
/**
|
||||
* @throws IllegalArgumentException if {@code dataContext} is {@code null} or
|
||||
@@ -129,9 +129,9 @@ public class AnActionEvent implements PlaceProvider {
|
||||
|
||||
/**
|
||||
* Returns the {@code InputEvent} which causes invocation of the action. It might be
|
||||
* {@code KeyEvent}, {@code MouseEvent}.
|
||||
* {@code KeyEvent}, {@code MouseEvent} or null.
|
||||
*
|
||||
* @return the {@code InputEvent} instance.
|
||||
* @return the {@code InputEvent} instance or null.
|
||||
*/
|
||||
public InputEvent getInputEvent() {
|
||||
return myInputEvent;
|
||||
@@ -202,7 +202,7 @@ public class AnActionEvent implements PlaceProvider {
|
||||
* @see com.intellij.openapi.actionSystem.ActionPlaces
|
||||
*/
|
||||
@Override
|
||||
public @NotNull String getPlace() {
|
||||
public @NotNull @NonNls String getPlace() {
|
||||
return myPlace;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user