/******************************************************************************* * Copyright (c) 2006, 2008 Spring IDE Developers * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Spring IDE Developers - initial API and implementation *******************************************************************************/ package org.springframework.ide.eclipse.beans.ui.editor.namespaces; import org.eclipse.jface.text.contentassist.IContentAssistProcessor; import org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest; /** * Implementations of this interface are able to calculate content assist * proposals. * @author Christian Dupuis * @since 2.0.2 */ @SuppressWarnings("restriction") public interface INamespaceContentAssistProcessor { /** * Init this content assist processor. */ void init(); /** * Add content assist proposals for attribute values. */ void addAttributeValueProposals( IContentAssistProcessor delegatingContentAssistProcessor, ContentAssistRequest request); /** * Add content assist proposals for attribute name. */ void addAttributeNameProposals( IContentAssistProcessor delegatingContentAssistProcessor, ContentAssistRequest request); /** * Add content assist proposals for closing tags. */ void addTagCloseProposals( IContentAssistProcessor delegatingContentAssistProcessor, ContentAssistRequest request); /** * Add content assist proposals for inserting of tags. */ void addTagInsertionProposals( IContentAssistProcessor delegatingContentAssistProcessor, ContentAssistRequest request, int childPosition); }