org.eclipse.xtext.ui.editor.toggleComments.ToggleSLCommentAction Java Examples
The following examples show how to use
org.eclipse.xtext.ui.editor.toggleComments.ToggleSLCommentAction.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XtextEditor.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
protected void configureToggleCommentAction(ToggleSLCommentAction action) { ISourceViewer sourceViewer = getSourceViewer(); SourceViewerConfiguration configuration = getSourceViewerConfiguration(); action.configure(sourceViewer, configuration); }
Example #2
Source File: XtendUiModule.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
public Class<? extends ToggleSLCommentAction.Factory> bindToggleCommentFactory() { return RichStringAwareToggleCommentAction.Factory.class; }
Example #3
Source File: RichStringAwareToggleCommentAction.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
@Override public ToggleSLCommentAction create(ResourceBundle bundle, String prefix, ITextEditor editor) { RichStringAwareToggleCommentAction result = new RichStringAwareToggleCommentAction(bundle, prefix, editor); result.merger = merger; return result; }
Example #4
Source File: AbstractSARLUiModule.java From sarl with Apache License 2.0 | 4 votes |
public Class<? extends ToggleSLCommentAction.Factory> bindToggleSLCommentAction$Factory() { return RichStringAwareToggleCommentAction.Factory.class; }