Package org.eclipse.jface.text.source.AnnotationPainter

Examples of org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy


  private void showAnnotationType(Type type, boolean isVisible) {
    AnnotationStyle style = getAnnotationStyle(type);
   
    if (isVisible) {
     
      IDrawingStrategy strategy = DrawingStyle.createStrategy(style);
     
      // It might not be possible to create the drawing strategy trough
      // configuration errors, in this case the drawing strategy will be ignored
      if (strategy != null) {
       
View Full Code Here


  private void showAnnotationType(Type type, boolean isVisible) {
    AnnotationStyle style = getAnnotationStyle(type);
   
    if (isVisible) {
     
      IDrawingStrategy strategy = DrawingStyle.createStrategy(style);
     
      // It might not be possible to create the drawing strategy trough
      // configuration errors, in this case the drawing strategy will be ignored
      if (strategy != null) {
       
View Full Code Here

   *
   * @return the {@link IDrawingStrategy} or null if does not exist.
   */
  public static IDrawingStrategy createStrategy(AnnotationStyle style) {
   
    IDrawingStrategy strategy = statelessStyles.get(style.getStyle());
   
    if (strategy == null && Style.TAG.equals(style.getStyle()) && style.getConfiguration() != null) {
      strategy = new TagDrawingStrategy(style.getConfiguration());
    }
   
View Full Code Here

  private void showAnnotationType(Type type, boolean isVisible) {
    AnnotationStyle style = getAnnotationStyle(type);
   
    if (isVisible) {
     
      IDrawingStrategy strategy = DrawingStyle.createStrategy(style);
     
      // It might not be possible to create the drawing strategy trough
      // configuration errors, in this case the drawing strategy will be ignored
      if (strategy != null) {
       
View Full Code Here

   *
   * @return the {@link IDrawingStrategy} or null if does not exist.
   */
  public static IDrawingStrategy createStrategy(AnnotationStyle style) {
   
    IDrawingStrategy strategy = statelessStyles.get(style.getStyle());
   
    if (strategy == null && Style.TAG.equals(style.getStyle()) && style.getConfiguration() != null) {
      strategy = new TagDrawingStrategy(style.getConfiguration());
    }
   
View Full Code Here

  private void showAnnotationType(Type type, boolean isVisible) {
    AnnotationStyle style = getDocumentProvider().getAnnotationStyle(getEditorInput(), type);
   
    if (isVisible) {
     
      IDrawingStrategy strategy = DrawingStyle.createStrategy(style);
     
      // It might not be possible to create the drawing strategy trough
      // configuration errors, in this case the drawing strategy will be ignored
      if (strategy != null) {
       
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy

Copyright © 2018 www.massapicom. 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.