Search in sources :

Example 1 with BndMarkerQuickAssistProcessor

use of org.bndtools.core.editors.BndMarkerQuickAssistProcessor in project bndtools by bndtools.

the class BndSourceViewerConfiguration method getQuickAssistAssistant.

@Override
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) {
    QuickAssistAssistant assistant = new QuickAssistAssistant();
    assistant.setQuickAssistProcessor(new BndMarkerQuickAssistProcessor());
    return assistant;
}
Also used : IQuickAssistAssistant(org.eclipse.jface.text.quickassist.IQuickAssistAssistant) QuickAssistAssistant(org.eclipse.jface.text.quickassist.QuickAssistAssistant) BndMarkerQuickAssistProcessor(org.bndtools.core.editors.BndMarkerQuickAssistProcessor)

Example 2 with BndMarkerQuickAssistProcessor

use of org.bndtools.core.editors.BndMarkerQuickAssistProcessor in project bndtools by bndtools.

the class PackageInfoSourceViewerConfiguration method getQuickAssistAssistant.

@Override
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) {
    QuickAssistAssistant assistant = new QuickAssistAssistant();
    assistant.setQuickAssistProcessor(new BndMarkerQuickAssistProcessor());
    return assistant;
}
Also used : IQuickAssistAssistant(org.eclipse.jface.text.quickassist.IQuickAssistAssistant) QuickAssistAssistant(org.eclipse.jface.text.quickassist.QuickAssistAssistant) BndMarkerQuickAssistProcessor(org.bndtools.core.editors.BndMarkerQuickAssistProcessor)

Aggregations

BndMarkerQuickAssistProcessor (org.bndtools.core.editors.BndMarkerQuickAssistProcessor)2 IQuickAssistAssistant (org.eclipse.jface.text.quickassist.IQuickAssistAssistant)2 QuickAssistAssistant (org.eclipse.jface.text.quickassist.QuickAssistAssistant)2