Examples of showInformation()


Examples of org.cishell.service.guibuilder.GUIBuilderService.showInformation()

                Integer.parseInt("Not an integer...");
            } catch (NumberFormatException e) {
                guiBuilder.showError("showError()", "showError w/ Throwable Test", e);
            }
           
            guiBuilder.showInformation("showInformation()", "showInformation Test", "showInformation Details");
            confirm = guiBuilder.showQuestion("showQuestion()", "showQuestion Test", "showQuestion Details");
            log.log(LogService.LOG_INFO, "Yes? " + (confirm ? "Yes" : "No"));
            guiBuilder.showWarning("showWarning()", "showWarning Test", "showWarning Details");
        }
       
View Full Code Here

Examples of org.eclipse.jface.text.information.InformationPresenter.showInformation()

      String[] contentTypes = editor.getViewerConfiguration().getConfiguredContentTypes(editor.getViewer());
      for (int i= 0; i < contentTypes.length; i++) {
        presenter.setInformationProvider(provider, contentTypes[i]);
      }
      presenter.install(editor.getViewer());
      presenter.showInformation();
    }
    return null;
 

}
View Full Code Here

Examples of org.eclipse.ui.internal.texteditor.FocusedInformationPresenter.showInformation()

        informationPresenter.setOffset(offset);
        informationPresenter.setAnchor(AbstractInformationControlManager.ANCHOR_BOTTOM);
        informationPresenter.setMargins(6, 6); // default values from AbstractInformationControlManager
        String contentType= TextUtilities.getContentType(sourceViewer.getDocument(), getSourceViewerConfiguration().getConfiguredDocumentPartitioning(getSourceViewer()), offset, true);
        informationPresenter.setInformationProvider(informationProvider, contentType);
        informationPresenter.showInformation();

        return true;

      } catch (BadLocationException e) {
        return false;
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.