org.eclipse.ui.texteditor.SelectMarkerRulerAction#org.eclipse.xtext.ui.editor.toggleComments.ToggleSLCommentAction源码实例Demo

下面列出了org.eclipse.ui.texteditor.SelectMarkerRulerAction#org.eclipse.xtext.ui.editor.toggleComments.ToggleSLCommentAction 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: xtext-eclipse   文件: XtextEditor.java
protected void configureToggleCommentAction(ToggleSLCommentAction action) {
	ISourceViewer sourceViewer = getSourceViewer();
	SourceViewerConfiguration configuration = getSourceViewerConfiguration();
	action.configure(sourceViewer, configuration);
}
 
源代码2 项目: xtext-xtend   文件: XtendUiModule.java
public Class<? extends ToggleSLCommentAction.Factory> bindToggleCommentFactory() {
	return RichStringAwareToggleCommentAction.Factory.class;
}
 
@Override
public ToggleSLCommentAction create(ResourceBundle bundle, String prefix, ITextEditor editor) {
	RichStringAwareToggleCommentAction result = new RichStringAwareToggleCommentAction(bundle, prefix, editor);
	result.merger = merger;
	return result;
}
 
源代码4 项目: sarl   文件: AbstractSARLUiModule.java
public Class<? extends ToggleSLCommentAction.Factory> bindToggleSLCommentAction$Factory() {
	return RichStringAwareToggleCommentAction.Factory.class;
}