use of com.android.tools.idea.actions.BothModeAction in project android by JetBrains.
the class NlActionsToolbar method createConfigActions.
private static DefaultActionGroup createConfigActions(ConfigurationHolder configurationHolder, DesignSurface surface) {
DefaultActionGroup group = new DefaultActionGroup();
group.add(new DesignModeAction(surface));
group.add(new BlueprintModeAction(surface));
group.add(new BothModeAction(surface));
group.addSeparator();
OrientationMenuAction orientationAction = new OrientationMenuAction(configurationHolder);
group.add(orientationAction);
group.addSeparator();
DeviceMenuAction deviceAction = new DeviceMenuAction(configurationHolder);
group.add(deviceAction);
TargetMenuAction targetMenuAction = new TargetMenuAction(configurationHolder);
group.add(targetMenuAction);
ThemeMenuAction themeAction = new ThemeMenuAction(configurationHolder);
group.add(themeAction);
group.addSeparator();
LocaleMenuAction localeAction = new LocaleMenuAction(configurationHolder);
group.add(localeAction);
group.addSeparator();
ConfigurationMenuAction configAction = new ConfigurationMenuAction(surface);
group.add(configAction);
return group;
}
Aggregations