Package com.volantis.mcs.eclipse.ab.editors.layout

Examples of com.volantis.mcs.eclipse.ab.editors.layout.RowColumnInsertionDialog


     *
     * @return the required insertion data or null if dialog was cancelled.
     */
    protected RowColumnInsertionDialog.InsertionData getInsertionDetails() {
        RowColumnInsertionDialog.InsertionData result = null;
        RowColumnInsertionDialog dialog =
                new RowColumnInsertionDialog(
                        Display.getCurrent().getActiveShell(),
                        RowColumnInsertionDialog.Type.COLUMN);
        int returnCode = dialog.open();

        if (returnCode == IDialogConstants.OK_ID) {
            result =
                    (RowColumnInsertionDialog.InsertionData)
                    dialog.getResult()[0];
        }
        return result;
    }
View Full Code Here


     *
     * @return the required insertion data or null if dialog was cancelled.
     */
    protected RowColumnInsertionDialog.InsertionData getInsertionDetails() {
        RowColumnInsertionDialog.InsertionData result = null;
        RowColumnInsertionDialog dialog =
                new RowColumnInsertionDialog(
                        Display.getCurrent().getActiveShell());
        int returnCode = dialog.open();

        if (returnCode == IDialogConstants.OK_ID) {
            result =
                    (RowColumnInsertionDialog.InsertionData) dialog.getResult()[0];
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.ab.editors.layout.RowColumnInsertionDialog

Copyright © 2018 www.massapicom. 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.