use of org.eclipse.che.ide.api.editor.signature.SignatureHelpProvider in project che by eclipse.
the class OrionEditorInit method uninstall.
public void uninstall() {
Reconciler reconciler = configuration.getReconciler();
if (reconciler != null) {
reconciler.uninstall();
}
SignatureHelpProvider signatureHelpProvider = configuration.getSignatureHelpProvider();
if (signatureHelpProvider != null) {
signatureHelpProvider.uninstall();
}
}
use of org.eclipse.che.ide.api.editor.signature.SignatureHelpProvider in project che by eclipse.
the class OrionEditorPresenter method showSignatureHelp.
private void showSignatureHelp() {
//TODO XXX
SignatureHelpProvider signatureHelpProvider = getConfiguration().getSignatureHelpProvider();
if (document != null && signatureHelpProvider != null) {
Promise<Optional<SignatureHelp>> promise = signatureHelpProvider.signatureHelp(document, getCursorOffset());
PositionConverter.PixelCoordinates coordinates = getPositionConverter().offsetToPixel(getCursorOffset());
signatureHelpView.showSignature(promise, coordinates.getX(), coordinates.getY() - editorWidget.getTextView().getLineHeight());
}
}
Aggregations