blob: beb20e024b4e924dbc2bf181966bdd9febec9b31 [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.
*
* @since 1.0
*/
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();
}