Examples of SapphireDialog


Examples of org.eclipse.sapphire.ui.forms.swt.SapphireDialog

       
        final CreateFileOp operation = CreateFileOp.TYPE.instantiate();
       
        try
        {
            final SapphireDialog selectRootDialog = new SapphireDialog
            (
                window.getShell(), operation,
                DefinitionLoader.context( getClass() ).sdef( "CreateFileWizard" ).dialog( "CustomizeDialog" )
            );
           
            if( selectRootDialog.open() == Dialog.OK )
            {
                final CreateWorkspaceFileWizard<CreateFileOp> createFileWizard = new CreateWorkspaceFileWizard<CreateFileOp>
                (
                    operation,
                    DefinitionLoader.context( getClass() ).sdef( "CreateFileWizard" ).wizard( "CreateFileWizard" )
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireDialog

       
        final FileBugReportOp operation = FileBugReportOp.TYPE.instantiate();
       
        try
        {
            final SapphireDialog dialog = new SapphireDialog
            (
                window.getShell(), operation.getBugReport(),
                DefinitionLoader.context( FileBugReportOp.class ).sdef( "EzBug" ).dialog( "FileBugReportDialog" )
            );
           
            if( dialog.open() == Dialog.OK )
            {
                // Do something. User input is found in the bug report model.
            }
        }
        finally
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireDialog

       
        final FileBugReportOp operation = FileBugReportOp.TYPE.instantiate();
       
        try
        {
            final SapphireDialog dialog = new SapphireDialog
            (
                window.getShell(), operation.getBugReport(),
                DefinitionLoader.context( FileBugReportOp.class ).sdef( "EzBug" ).dialog( "FileBugReportDialogWhite" )
            );
           
            if( dialog.open() == Dialog.OK )
            {
                // Do something. User input is found in the bug report model.
            }
        }
        finally
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireDialog

    @Override
    protected Object run( final Presentation context )
    {
        final Element element = context.part().getLocalModelElement();
       
        final SapphireDialog dialog = new SapphireDialog
        (
            ( (FormComponentPresentation) context ).shell(), element,
            DefinitionLoader.context( IGallery.class ).sdef( "GalleryEditor" ).dialog( "SplitFormDialog" )
        );
       
        dialog.open();
       
        return null;
    }
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.