本文整理匯總了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();
}
示例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);
}
示例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;
}
示例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);
}
示例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();
}
示例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);
}
示例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;
}
示例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;
}
示例9: addListener
import com.intellij.openapi.diff.impl.ContentChangeListener; //導入依賴的package包/類
public void addListener(ContentChangeListener listener) {
LOG.assertTrue(myListener == null);
myListener = listener;
}
示例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();
}
示例11: DiffPanelState
import com.intellij.openapi.diff.impl.ContentChangeListener; //導入依賴的package包/類
public DiffPanelState(ContentChangeListener changeListener, Project project, @NotNull Disposable parentDisposable) {
super(project,changeListener, parentDisposable);
}