Example usage for org.eclipse.jface.dialogs IMessageProvider INFORMATION

List of usage examples for org.eclipse.jface.dialogs IMessageProvider INFORMATION

Introduction

In this page you can find the example usage for org.eclipse.jface.dialogs IMessageProvider INFORMATION.

Prototype

int INFORMATION

To view the source code for org.eclipse.jface.dialogs IMessageProvider INFORMATION.

Click Source Link

Document

Constant for an info message (value 1).

Usage

From source file:ch.gpb.elexis.cst.dialog.CstCategoryDialog.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle(Messages.Cst_Text_cstgroup_name);
    setMessage(Messages.Cst_Text_Enter_name_for_cstgroup, IMessageProvider.INFORMATION);
}

From source file:ch.gpb.elexis.cst.dialog.CstNewProfileDialog.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle(Messages.Cst_Text_create_cstprofile);
    setMessage(Messages.Cst_Text_Enter_name_for_cstprofile, IMessageProvider.INFORMATION);
}

From source file:ch.gpb.elexis.cst.dialog.CstReminderDialog.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle("Erzeugt neuen Reminder");
    setMessage("Bitte whlen Sie Namen und Typ des Reminders", IMessageProvider.INFORMATION);
}

From source file:ch.gpb.elexis.cst.dialog.PdfOptionsDialog.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle("PDF Output Options");
    setMessage("Bitte whlen Sie die Optionen fr den PDF Output", IMessageProvider.INFORMATION);
}

From source file:cn.dockerfoundry.ide.eclipse.server.ui.internal.actions.EditorAction.java

License:Open Source License

protected void setMessageInPage(IStatus status) {
    String message = status.getMessage();
    int providerStatus = IMessageProvider.NONE;
    switch (status.getSeverity()) {
    case IStatus.INFO:
        providerStatus = IMessageProvider.INFORMATION;
        break;/*  www.j a va2 s .c o m*/
    case IStatus.WARNING:
        providerStatus = IMessageProvider.WARNING;
        break;
    }

    editorPage.setMessage(message, providerStatus);
}

From source file:cn.dockerfoundry.ide.eclipse.server.ui.internal.editor.DockerFoundryApplicationsEditorPage.java

License:Open Source License

protected void setMessageInPage(IStatus status) {
    String message = status.getMessage();
    int providerStatus = IMessageProvider.NONE;
    switch (status.getSeverity()) {
    case IStatus.INFO:
        providerStatus = IMessageProvider.INFORMATION;
        break;/*from w  ww .  j ava  2  s.c om*/
    case IStatus.WARNING:
        providerStatus = IMessageProvider.WARNING;
        break;
    }

    setMessage(message, providerStatus);
}

From source file:co.turnus.ui.profiling.wizard.page.LoadOperatorCostsFilePage.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle("Load the costs configuration from an XML file");
    setMessage("Select an XML from where the configuration will be loaded", IMessageProvider.INFORMATION);
    getButton(IDialogConstants.OK_ID).setEnabled(false);
}

From source file:co.turnus.ui.profiling.wizard.page.StoreOperatorCostsFilePage.java

License:Open Source License

@Override
public void create() {
    super.create();
    setTitle("Store the costs configuration to an XML file");
    setMessage("Select an XML file where this configuration will be saved", IMessageProvider.INFORMATION);
    getButton(IDialogConstants.OK_ID).setEnabled(false);
}

From source file:com.agynamix.platform.frontend.dialogs.InputNetworkAddressDialog.java

License:Open Source License

@Override
protected Control createContents(Composite parent) {
    Control contents = super.createContents(parent);
    setTitle("Input Network Address");
    String meta = PlatformUtils.isMacOs() ? "APPLE" : "CTRL";
    String text = "Please enter one IP address or network name.You can add a port by appending ':<portnr>'.\nPress 'Close' or "
            + meta + "+'Enter' to close the dialog.";
    setMessage(text, IMessageProvider.INFORMATION);

    return contents;
}

From source file:com.agynamix.platform.frontend.dialogs.InputTextDialog.java

License:Open Source License

@Override
protected Control createContents(Composite parent) {
    Control contents = super.createContents(parent);
    setTitle("Input Text");
    String meta = PlatformUtils.isMacOs() ? "APPLE" : "CTRL";
    String text = "Use this dialog to directly enter some text. Press 'Close' or " + meta
            + "+'Enter' to close the dialog.";
    setMessage(text, IMessageProvider.INFORMATION);

    //    if (image != null)
    //    {//from w  w  w  .ja v  a2s .c  o m
    //      setTitleImage(image);
    //    }
    //    
    return contents;
}