public FormatSpecifierDialog(FormatSpecifier formatspecifier)
public FormatSpecifierDialog(Shell shellParent, FormatSpecifier formatspecifier)
    public FormatSpecifierDialog(FormatSpecifier formatspecifier)    {        super();        this.formatspecifier = formatspecifier;        if (formatspecifier == null)        {            this.formatspecifier = AttributeFactory.eINSTANCE.createNumberFormatSpecifier();            fsBackup = (FormatSpecifier) EcoreUtil.copy(this.formatspecifier);        }        else        {            fsBackup = null;        }        shell = new Shell(Display.getCurrent(), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);        GridLayout gridLayout = new GridLayout();        gridLayout.numColumns = 2;        shell.setLayout(new FillLayout());        placeComponents();        shell.setText("Format Specifier Dialog:");        shell.setSize(332, 255);        UIHelper.centerOnScreen(shell);        shell.layout();        shell.open();        while (!shell.isDisposed())        {            if (!shell.getDisplay().readAndDispatch())            {                shell.getDisplay().sleep();            }        }    }