Search in sources :

Example 1 with LintNotificationAction

use of com.android.tools.idea.uibuilder.actions.LintNotificationAction in project android by JetBrains.

the class NlActionsToolbar method getRhsActions.

private static ActionGroup getRhsActions(DesignSurface surface) {
    DefaultActionGroup group = new DefaultActionGroup();
    group.add(new SetZoomAction(surface, ZoomType.OUT));
    group.add(new ZoomLabelAction(surface));
    group.add(new SetZoomAction(surface, ZoomType.IN));
    group.add(new SetZoomAction(surface, ZoomType.FIT));
    group.add(new TogglePanningDialogAction(surface));
    group.addSeparator();
    group.add(new LintNotificationAction(surface));
    return group;
}
Also used : SetZoomAction(com.android.tools.idea.uibuilder.actions.SetZoomAction) LintNotificationAction(com.android.tools.idea.uibuilder.actions.LintNotificationAction) DefaultActionGroup(com.intellij.openapi.actionSystem.DefaultActionGroup) TogglePanningDialogAction(com.android.tools.idea.uibuilder.actions.TogglePanningDialogAction) ZoomLabelAction(com.android.tools.idea.uibuilder.actions.ZoomLabelAction)

Aggregations

LintNotificationAction (com.android.tools.idea.uibuilder.actions.LintNotificationAction)1 SetZoomAction (com.android.tools.idea.uibuilder.actions.SetZoomAction)1 TogglePanningDialogAction (com.android.tools.idea.uibuilder.actions.TogglePanningDialogAction)1 ZoomLabelAction (com.android.tools.idea.uibuilder.actions.ZoomLabelAction)1 DefaultActionGroup (com.intellij.openapi.actionSystem.DefaultActionGroup)1