當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。