plugins/org.wso2.developerstudio.eclipse.docker.distribution/src/org/wso2/developerstudio/eclipse/docker/distribution/action/DockerBuildActionUtil.java
/**
     * Method for generating UI pop up box with cutom messages.
     * 
     * @param title message box title
     * @param message message box context
     * @param style icon style
     */
Method for generating UI pop up box with cutom messages.

@param title message box title
@param message message box context
@param style icon style
Method for generating UI pop up box with cutom messages . @param title message box title @param message message box context @param style icon style
public static void showMessageBox(final String title, final String message, final int style) {
        Display.getDefault().syncExec(new Runnable() {
            public void run() {
                Display display = PlatformUI.getWorkbench().getDisplay();
                Shell shell = display.getActiveShell();
                MessageBox exportMsg = new MessageBox(shell, style);
                exportMsg.setText(title);
                exportMsg.setMessage(message);
                exportMsg.open();
            }
        });
    }
public static void showMessageBox ( final String title , final String message , final int style ) { Display . getDefault ( ) . syncExec ( new Runnable ( ) { public void run ( ) { Display display = PlatformUI . getWorkbench ( ) . getDisplay ( ) ; Shell shell = display . getActiveShell ( ) ; MessageBox exportMsg = new MessageBox ( shell , style ) ; exportMsg . setText ( title ) ; exportMsg . setMessage ( message ) ; exportMsg . open ( ) ; } } ) ; }
Method for generating UI pop up box with cutom messages.
Method for generating UI pop up box with cutom messages .