@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { // create a content assistant: PyCorrectionAssistant assistant = new PyCorrectionAssistant(); // next create a content assistant processor to populate the completions window IQuickAssistProcessor processor = new PythonCorrectionProcessor(this.getEdit()); // Correction assist works on all assistant.setQuickAssistProcessor(processor); assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer)); //delay and auto activate set on PyContentAssistant constructor. return assistant; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (sourceViewer.isEditable()) { if (quickAssistant == null) quickAssistant = quickAssistAssistentProvider.get(); return quickAssistant; } return null; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { QuickAssistAssistant assistant = new QuickAssistAssistant(); assistant.setQuickAssistProcessor(new JsonQuickAssistProcessor(new QuickFixer())); assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer)); return assistant; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (getEditor() != null) { JavaCorrectionAssistant assistant= new JavaCorrectionAssistant(getEditor()); assistant.setRestoreCompletionProposalSize(getSettings("quick_assist_proposal_size")); //$NON-NLS-1$ return assistant; } return null; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (getEditor() != null) { PropertiesCorrectionAssistant assistant= new PropertiesCorrectionAssistant(getEditor()); assistant.setRestoreCompletionProposalSize(JavaPlugin.getDefault().getDialogSettingsSection("quick_assist_proposal_size")); //$NON-NLS-1$ return assistant; } return null; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { /* currently we avoid the default quick assistence parts (spell checking etc.)*/ return null; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { /* currently we avoid the default quick assitence parts (spell checking etc.)*/ return null; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new de.darwinspl.preferences.resource.dwprofile.ui.DwprofileQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { if (quickAssistAssistant == null) { quickAssistAssistant = new eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestQuickAssistAssistant(resourceProvider, annotationModelProvider); } return quickAssistAssistant; }
@Override public IQuickAssistAssistant getQuickAssistAssistant( ISourceViewer sourceViewer) { QuickAssistAssistant assistant= new AnalysisQuickAssistAssistant((AtlEditor) this.getEditor()); return assistant; }
public IQuickAssistAssistant getQuickFixContentAssist() { return fQuickAssistAssistant; }
public PydevScriptConsoleSourceViewerConfiguration(ITextHover hover, PyContentAssistant contentAssist, IQuickAssistAssistant quickAssist) { this.hover = hover; this.contentAssist = contentAssist; this.quickAssist = quickAssist; }
@Override public IQuickAssistAssistant getQuickAssistAssistant(ISourceViewer sourceViewer) { quickAssist.setInformationControlCreator(this.getInformationControlCreator(sourceViewer)); return quickAssist; }
public IQuickAssistAssistant getQuickAssistAssistant() { return viewer.getQuickAssistAssistant(); }