| /**
|
| * Copyright (c) 2013-2015 Angelo ZERR.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License 2.0
|
| * which accompanies this distribution, and is available at
|
| * https://www.eclipse.org/legal/epl-2.0/
|
| *
|
| * SPDX-License-Identifier: EPL-2.0
|
| *
|
| * Contributors:
|
| * Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
|
| */ |
| package org.eclipse.wst.json.ui.contentassist;
|
|
|
| import org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext;
|
|
|
| public class DefaultJSONCompletionProposalComputer extends
|
| AbstractJSONCompletionProposalComputer {
|
|
|
| @Override
|
| public void sessionStarted() {
|
| // default is to do nothing
|
| }
|
|
|
| @Override
|
| protected void addObjectKeyProposals(
|
| ContentAssistRequest contentAssistRequest,
|
| CompletionProposalInvocationContext context) {
|
|
|
| }
|
|
|
| @Override
|
| public String getErrorMessage() {
|
| return null;
|
| }
|
|
|
| @Override
|
| public void sessionEnded() {
|
| // default is to do nothing
|
| }
|
| }
|