Java 类com.intellij.openapi.editor.EditorGutterAction 实例源码

项目:intellij-ce-playground    文件:AnnotationFieldGutter.java   
AnnotationFieldGutter(FileAnnotation annotation,
                      LineAnnotationAspect aspect,
                      final TextAnnotationPresentation presentation,
                      Couple<Map<VcsRevisionNumber, Color>> colorScheme) {
  myAnnotation = annotation;
  myAspect = aspect;
  myPresentation = presentation;
  myIsGutterAction = myAspect instanceof EditorGutterAction;
  myColorScheme = colorScheme;
}
项目:intellij-ce-playground    文件:AnnotationFieldGutter.java   
public Cursor getCursor(final int line) {
  if (myIsGutterAction) {
    return ((EditorGutterAction)myAspect).getCursor(line);
  } else {
    return Cursor.getDefaultCursor();
  }

}
项目:tools-idea    文件:AnnotationFieldGutter.java   
AnnotationFieldGutter(FileAnnotation annotation, Editor editor, LineAnnotationAspect aspect, final TextAnnotationPresentation presentation, Map<String, Color> colorScheme) {
  myAnnotation = annotation;
  myEditor = editor;
  myAspect = aspect;
  myPresentation = presentation;
  myIsGutterAction = myAspect instanceof EditorGutterAction;
  myColorScheme = colorScheme;
}
项目:tools-idea    文件:AnnotationFieldGutter.java   
public Cursor getCursor(final int line) {
  if (myIsGutterAction) {
    return ((EditorGutterAction)myAspect).getCursor(line);
  } else {
    return Cursor.getDefaultCursor();
  }

}
项目:consulo    文件:AspectAnnotationFieldGutter.java   
public AspectAnnotationFieldGutter(@Nonnull FileAnnotation annotation,
                                   @Nonnull LineAnnotationAspect aspect,
                                   @Nonnull TextAnnotationPresentation presentation,
                                   @Nullable Couple<Map<VcsRevisionNumber, Color>> colorScheme) {
  super(annotation, presentation, colorScheme);
  myAspect = aspect;
  myIsGutterAction = myAspect instanceof EditorGutterAction;
}
项目:consulo    文件:AspectAnnotationFieldGutter.java   
@Override
public Cursor getCursor(final int line) {
  if (myIsGutterAction) {
    return ((EditorGutterAction)myAspect).getCursor(line);
  }
  return super.getCursor(line);
}
项目:intellij-ce-playground    文件:AnnotationFieldGutter.java   
public void doAction(int line) {
  if (myIsGutterAction) {
    ((EditorGutterAction)myAspect).doAction(line);
  }
}
项目:tools-idea    文件:AnnotationFieldGutter.java   
public void doAction(int line) {
  if (myIsGutterAction) {
    ((EditorGutterAction)myAspect).doAction(line);
  }
}
项目:consulo    文件:AspectAnnotationFieldGutter.java   
@Override
public void doAction(int line) {
  if (myIsGutterAction) {
    ((EditorGutterAction)myAspect).doAction(line);
  }
}