Examples of IStatusHandler


Examples of org.eclipse.debug.core.IStatusHandler

   * @return the current stack frame context, or a valid stack frame for the
   *         given value.
   * @throws CoreException
   */
  private IJavaStackFrame getStackFrame(IValue value) throws CoreException {
    IStatusHandler handler = getStackFrameProvider();
    if (handler != null) {
      IJavaStackFrame stackFrame = (IJavaStackFrame) handler
          .handleStatus(JDIDebugPlugin.STATUS_GET_EVALUATION_FRAME,
              value);
      if (stackFrame != null) {
        return stackFrame;
      }
View Full Code Here

Examples of org.eclipse.debug.core.IStatusHandler

          IStatus.ERROR,
          JDIDebugPlugin.getUniqueIdentifier(),
          NO_LINE_NUMBERS,
          JDIDebugBreakpointMessages.JavaLineBreakpoint_Absent_Line_Number_Information_1,
          null);
      IStatusHandler handler = DebugPlugin.getDefault().getStatusHandler(
          status);
      if (handler != null) {
        try {
          handler.handleStatus(status, type);
        } catch (CoreException e) {
        }
      }
      return null;
    } catch (NativeMethodException e) {
View Full Code Here

Examples of org.eclipse.debug.core.IStatusHandler

   * @return boolean result returned by the status handler
   * @throws CoreException
   *           if the status has severity error and no handler is available
   */
  private boolean showPrompt(IStatus status, Object info) throws CoreException {
    IStatusHandler prompter = DebugPlugin.getDefault().getStatusHandler(
        PROMPT_STATUS);
    if (prompter == null) {
      if (status.getSeverity() == IStatus.ERROR) {
        throw new CoreException(status);
      } else {
        return true;
      }
    } else {
      return ((Boolean) prompter.handleStatus(status, info)).booleanValue();
    }
  }
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.