use of org.eclipse.mylyn.internal.wikitext.ui.util.NlsResourceBundle in project mylyn.docs by eclipse.
the class ExpandAllFoldingRulerAction method createAction.
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
TextOperationAction action = new TextOperationAction(new NlsResourceBundle(Messages.class), "ExpandAllFoldingRulerAction_", editor, ProjectionViewer.EXPAND_ALL, // $NON-NLS-1$
true);
action.setActionDefinitionId(IFoldingCommandIds.FOLDING_EXPAND_ALL);
return action;
}
use of org.eclipse.mylyn.internal.wikitext.ui.util.NlsResourceBundle in project mylyn.docs by eclipse.
the class MarkupEditor method createActions.
@Override
protected void createActions() {
super.createActions();
IAction action;
// action = new ShowCheatSheetAction(this);
// setAction(action.getId(),action);
// $NON-NLS-1$
action = new ContentAssistAction(new NlsResourceBundle(Messages.class), "ContentAssistProposal_", this);
action.setActionDefinitionId(ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS);
// $NON-NLS-1$
setAction("ContentAssistProposal", action);
// $NON-NLS-1$
markAsStateDependentAction("ContentAssistProposal", true);
}
use of org.eclipse.mylyn.internal.wikitext.ui.util.NlsResourceBundle in project mylyn.docs by eclipse.
the class CollapseAllFoldingRulerAction method createAction.
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
TextOperationAction action = new TextOperationAction(new NlsResourceBundle(Messages.class), "CollapseAllFoldingRulerAction_", editor, ProjectionViewer.COLLAPSE_ALL, // $NON-NLS-1$
true);
action.setActionDefinitionId(IFoldingCommandIds.FOLDING_COLLAPSE_ALL);
return action;
}
Aggregations