下面列出了org.eclipse.ui.texteditor.SelectMarkerRulerAction#org.eclipse.xtext.ui.editor.toggleComments.ToggleSLCommentAction 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
protected void configureToggleCommentAction(ToggleSLCommentAction action) {
ISourceViewer sourceViewer = getSourceViewer();
SourceViewerConfiguration configuration = getSourceViewerConfiguration();
action.configure(sourceViewer, configuration);
}
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;
}
public Class<? extends ToggleSLCommentAction.Factory> bindToggleSLCommentAction$Factory() {
return RichStringAwareToggleCommentAction.Factory.class;
}