当前位置: 首页>>代码示例>>Java>>正文


Java ContentChangeListener类代码示例

本文整理汇总了Java中com.intellij.openapi.diff.impl.ContentChangeListener的典型用法代码示例。如果您正苦于以下问题:Java ContentChangeListener类的具体用法?Java ContentChangeListener怎么用?Java ContentChangeListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ContentChangeListener类属于com.intellij.openapi.diff.impl包,在下文中一共展示了ContentChangeListener类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: FragmentedDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public FragmentedDiffPanelState(ContentChangeListener changeListener,
                                Project project,
                                int diffDividerPolygonsOffset,
                                boolean drawNumber,
                                @NotNull Disposable parentDisposable) {
  super(changeListener, project, diffDividerPolygonsOffset, parentDisposable);
  myFragmentHighlighter = new NumberedFragmentHighlighter(myAppender1, myAppender2, drawNumber);
  mySeparatorsPositionConsumer = new FragmentSeparatorsPositionConsumer();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:10,代码来源:FragmentedDiffPanelState.java

示例2: SimpleDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public SimpleDiffPanelState(Project project, ContentChangeListener changeListener, @NotNull Disposable parentDisposable) {
  myAppender1 = createEditorWrapper(project, changeListener, FragmentSide.SIDE1);
  myAppender2 = createEditorWrapper(project, changeListener, FragmentSide.SIDE2);
  myProject = project;
  myDiffPolicy = DiffPolicy.LINES_WO_FORMATTING;
  myHighlightMode = HighlightMode.BY_WORD;
  Disposer.register(parentDisposable, this);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:9,代码来源:SimpleDiffPanelState.java

示例3: DiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public DiffPanelState(ContentChangeListener changeListener,
                      Project project,
                      int diffDividerPolygonsOffset,
                      @NotNull Disposable parentDisposable) {
  super(project, changeListener, parentDisposable);
  myDiffDividerPolygonsOffset = diffDividerPolygonsOffset;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:8,代码来源:DiffPanelState.java

示例4: SimpleDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public SimpleDiffPanelState(Project project, ContentChangeListener changeListener, @NotNull Disposable parentDisposable) {
  myAppender1 = createEditorWrapper(project, changeListener, FragmentSide.SIDE1);
  myAppender2 = createEditorWrapper(project, changeListener, FragmentSide.SIDE2);
  myProject = project;
  myDiffPolicy = DiffPolicy.LINES_WO_FORMATTING;
  Disposer.register(parentDisposable, this);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:8,代码来源:SimpleDiffPanelState.java

示例5: FragmentedDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public FragmentedDiffPanelState(ContentChangeListener changeListener,
                                Project project,
                                int diffDividerPolygonsOffset,
                                boolean drawNumber,
                                @Nonnull Disposable parentDisposable) {
  super(changeListener, project, diffDividerPolygonsOffset, parentDisposable);
  myFragmentHighlighter = new NumberedFragmentHighlighter(myAppender1, myAppender2, drawNumber);
  mySeparatorsPositionConsumer = new FragmentSeparatorsPositionConsumer();
}
 
开发者ID:consulo,项目名称:consulo,代码行数:10,代码来源:FragmentedDiffPanelState.java

示例6: SimpleDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public SimpleDiffPanelState(Project project, ContentChangeListener changeListener, @Nonnull Disposable parentDisposable) {
  myAppender1 = createEditorWrapper(project, changeListener, FragmentSide.SIDE1);
  myAppender2 = createEditorWrapper(project, changeListener, FragmentSide.SIDE2);
  myProject = project;
  myDiffPolicy = DiffPolicy.LINES_WO_FORMATTING;
  myHighlightMode = HighlightMode.BY_WORD;
  Disposer.register(parentDisposable, this);
}
 
开发者ID:consulo,项目名称:consulo,代码行数:9,代码来源:SimpleDiffPanelState.java

示例7: DiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public DiffPanelState(ContentChangeListener changeListener,
                      Project project,
                      int diffDividerPolygonsOffset,
                      @Nonnull Disposable parentDisposable) {
  super(project, changeListener, parentDisposable);
  myDiffDividerPolygonsOffset = diffDividerPolygonsOffset;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:8,代码来源:DiffPanelState.java

示例8: createEditorWrapper

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
private EditorPlaceHolder createEditorWrapper(Project project, ContentChangeListener changeListener, FragmentSide side) {
  EditorPlaceHolder editorWrapper = new EditorPlaceHolder(side, project, this);
  editorWrapper.addListener(changeListener);
  return editorWrapper;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:SimpleDiffPanelState.java

示例9: addListener

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public void addListener(ContentChangeListener listener) {
  LOG.assertTrue(myListener == null);
  myListener = listener;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:EditorPlaceHolder.java

示例10: FragmentedDiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public FragmentedDiffPanelState(ContentChangeListener changeListener, Project project, boolean drawNumber, @NotNull Disposable parentDisposable) {
  super(changeListener, project, parentDisposable);
  myFragmentHighlighter = new NumberedFragmentHighlighter(myAppender1, myAppender2, drawNumber);
  mySeparatorsPositionConsumer = new FragmentSeparatorsPositionConsumer();
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:6,代码来源:FragmentedDiffPanelState.java

示例11: DiffPanelState

import com.intellij.openapi.diff.impl.ContentChangeListener; //导入依赖的package包/类
public DiffPanelState(ContentChangeListener changeListener, Project project, @NotNull Disposable parentDisposable) {
  super(project,changeListener, parentDisposable);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:4,代码来源:DiffPanelState.java


注:本文中的com.intellij.openapi.diff.impl.ContentChangeListener类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。