congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ConsolePlugin.log
Code IndexAdd Tabnine to your IDE (free)

How to use
log
method
in
org.eclipse.ui.console.ConsolePlugin

Best Java code snippets using org.eclipse.ui.console.ConsolePlugin.log (Showing top 20 results out of 315)

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

  @Override
  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
  }
});
origin: org.eclipse/org.eclipse.ui.console

/**
 * Logs the specified throwable with this plug-in's log.
 * 
 * @param t throwable to log 
 */
public static void log(Throwable t) {
  if (t instanceof CoreException) {
    log(((CoreException)t).getStatus());
  } else {
    log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$
  }
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

/**
 * Logs the specified throwable with this plug-in's log.
 *
 * @param t throwable to log
 */
public static void log(Throwable t) {
  if (t instanceof CoreException) {
    log(((CoreException)t).getStatus());
  } else {
    log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

  @Override
  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    listeners.remove(participant);
  }
});
origin: org.eclipse/org.eclipse.ui.console

  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    listeners.remove(participant);
  }
});
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

/**
 * Appends the specified message to this stream.
 * 
 * @param message message to append
 */
public void print(String message) {
  try {
    write(message);
  } catch (IOException e) {
    ConsolePlugin.log(e);
  }
}

origin: org.eclipse/org.eclipse.ui.console

/**
 * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable)
 */
public void handleException(Throwable exception) {
  IStatus status = new Status(IStatus.ERROR, ConsolePlugin.getUniqueIdentifier(), IConsoleConstants.INTERNAL_ERROR, ConsoleMessages.AbstractConsole_0, exception); 
  ConsolePlugin.log(status);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

  @Override
  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    participants.remove(participant);
  }
});
origin: org.eclipse/org.eclipse.ui.console

  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    participants.remove(participant);
  }
});
origin: org.eclipse/org.eclipse.ui.console

/**
 * Appends the specified message to this stream.
 * 
 * @param message message to append
 */
public void print(String message) {
  try {
    write(message);
  } catch (IOException e) {
    ConsolePlugin.log(e);
  }
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

@Override
public void handleException(Throwable exception) {
  IStatus status = new Status(IStatus.ERROR, ConsolePlugin.getUniqueIdentifier(), IConsoleConstants.INTERNAL_ERROR, ConsoleMessages.AbstractConsole_0, exception);
  ConsolePlugin.log(status);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

  @Override
  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    listeners.remove(participant);
  }
});
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

/**
 * Appends a line separator string to this stream.
 */
public void println() {
  try {
    write("\n"); //$NON-NLS-1$
  } catch (IOException e) {
    ConsolePlugin.log(e);
  }
}    

origin: org.eclipse/org.eclipse.ui.console

  public void handleException(Throwable exception) {
    ConsolePlugin.log(exception);
    listeners.remove(participant);
  }
});
origin: org.eclipse/org.eclipse.ui.console

/**
 * Appends a line separator string to this stream.
 */
public void println() {
  try {
    write("\n"); //$NON-NLS-1$
  } catch (IOException e) {
    ConsolePlugin.log(e);
  }
}    

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

@Override
public void handleException(Throwable exception) {
  IStatus status = new Status(IStatus.ERROR, ConsolePlugin.getUniqueIdentifier(), IConsoleConstants.INTERNAL_ERROR, ConsoleMessages.ConsoleManager_0, exception);
  ConsolePlugin.log(status);
}
origin: org.eclipse/org.eclipse.ui.console

public void run() {
  try {
    if (fFactory == null) {
      fFactory = fConfig.createFactory();
    }
    
    fFactory.openConsole();
  } catch (CoreException e) {
    ConsolePlugin.log(e);
  }
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

@Override
public void run() {
  try {
    if (fFactory == null) {
      fFactory = fConfig.createFactory();
    }
    fFactory.openConsole();
  } catch (CoreException e) {
    ConsolePlugin.log(e);
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

public String getPattern() {
  if (fPattern == null) {
    fPattern = fConfig.getAttribute("regex"); //$NON-NLS-1$
    try {
      fPattern = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(fPattern, false);
    } catch (CoreException e) {
      ConsolePlugin.log(e);
    }
  }
  return fPattern;
}
origin: org.eclipse/org.eclipse.ui.console

public String getPattern() {
  if (fPattern == null) {
    fPattern = fConfig.getAttribute("regex"); //$NON-NLS-1$
    try {
      fPattern = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(fPattern, false);
    } catch (CoreException e) {
      ConsolePlugin.log(e);
    }
  }
  return fPattern;
}
org.eclipse.ui.consoleConsolePluginlog

Javadoc

Logs the specified throwable with this plug-in's log.

Popular methods of ConsolePlugin

  • getConsoleManager
    Returns the console manager. The manager will be created lazily on the first access.
  • getDefault
    Returns the singleton instance of the console plug-in.
  • getStandardDisplay
    Returns the workbench display.
  • errorDialog
    Utility method with conventions
  • getLog
  • getUniqueIdentifier
    Convenience method which returns the unique identifier of this plug-in.
  • newErrorStatus
    Returns a new error status for this plug-in with the given message
  • getPreferenceStore

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Notification (javax.management)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now