blob: a0d3b495b738eb85b3e77d55bf04f4b8fc72d097 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.common.snippets.core;
/**
* A snippet item is the actual object draggable from the Snippets view.
*/
public interface ISnippetItem extends ISnippetsEntry {
/**
* @return the category holding this item
*/
ISnippetCategory getCategory();
/**
* @return the content string for this item; the text inserted may not be
* identical
*/
String getContentString();
/**
* @return an array containing all of the valid variables for this item
*/
ISnippetVariable[] getVariables();
}