Examples of NewGridFormatActionCommand


Examples of com.volantis.mcs.eclipse.ab.actions.layout.NewGridFormatActionCommand

                        new DefaultActionCommand(),
                        LayoutActions.BUNDLE,
                        ActionID.NEW_GRID_MENU.getPrefix()));
        actions.put(ActionID.NEW_2_COLUMN_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(FormatType.GRID,
                                manager) {
                            protected Dimension getGridDimensions() {
                                return new Dimension(2, 1);
                            }
                        },
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_2_COLUMN_GRID.getPrefix()));
        actions.put(ActionID.NEW_3_ROW_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(FormatType.GRID,
                                manager) {
                            protected Dimension getGridDimensions() {
                                return new Dimension(1, 3);
                            }
                        },
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_3_ROW_GRID.getPrefix()));
        actions.put(ActionID.NEW_N_BY_M_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(FormatType.GRID,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_N_BY_M_GRID.getPrefix()));
        actions.put(ActionID.NEW_FRAGMENT,
                new ODOMAction(
                        new NewNonGridFormatActionCommand(
                                FormatType.FRAGMENT, manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_FRAGMENT.getPrefix()));
        actions.put(ActionID.NEW_FORM,
                new ODOMAction(
                        new NewNonGridFormatActionCommand(
                                FormatType.FORM,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_FORM.getPrefix()));
        actions.put(ActionID.NEW_REGION,
                new ODOMAction(
                        new NewNonGridFormatActionCommand(
                                FormatType.REGION,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_REGION.getPrefix()));
        actions.put(ActionID.NEW_REPLICA,
                new ODOMAction(
                        new NewNonGridFormatActionCommand(
                                FormatType.REPLICA,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_REPLICA.getPrefix()));
        actions.put(ActionID.NEW_FORM_FRAGMENT,
                new ODOMAction(
                        new NewNonGridFormatActionCommand(
                                FormatType.FORM_FRAGMENT,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_FORM_FRAGMENT.getPrefix()));

        actions.put(ActionID.MONTAGE_NEW_MENU,
                new SubMenuAction(
                        new NewMenuActionCommand(manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.MONTAGE_NEW_MENU.getPrefix()));
        actions.put(ActionID.NEW_SEGMENT_GRID_MENU,
                new SubMenuAction(
                        new DefaultActionCommand(),
                        LayoutActions.BUNDLE,
                        ActionID.NEW_SEGMENT_GRID_MENU.getPrefix()));
        actions.put(ActionID.NEW_2_COLUMN_SEGMENT_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(
                                FormatType.SEGMENT_GRID,
                                manager) {
                            protected Dimension getGridDimensions() {
                                return new Dimension(2, 1);
                            }
                        },
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_2_COLUMN_SEGMENT_GRID.getPrefix()));
        actions.put(ActionID.NEW_3_ROW_SEGMENT_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(
                                FormatType.SEGMENT_GRID,
                                manager) {
                            protected Dimension getGridDimensions() {
                                return new Dimension(1, 3);
                            }
                        },
                        context,
                        null,
                        LayoutActions.BUNDLE,
                        ActionID.NEW_3_ROW_SEGMENT_GRID.getPrefix()));
        actions.put(ActionID.NEW_N_BY_M_SEGMENT_GRID,
                new ODOMAction(
                        new NewGridFormatActionCommand(
                                FormatType.SEGMENT_GRID,
                                manager),
                        context,
                        null,
                        LayoutActions.BUNDLE,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.