blob: 02f64dd27fdd23fd8dd1bea195d0482f6010610b [file] [log] [blame]
/*******************************************************************************
* <copyright>
*
* Copyright (c) 2013, 2013 SAP AG.
* 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:
* SAP AG - initial API, implementation and documentation
*
* </copyright>
*
*******************************************************************************/
package org.eclipse.fmc.blockdiagram.editor.meta.profile;
import org.eclipse.fmc.mm.FMCElement;
/**
* The Interface which must be implemented by the Stereotype Extension.
*
* @author Patrick Jahnke
*
*/
public interface IStereotypeProvider {
/**
* Get the Stereotype text for a given FMCElement.
*
* @param node
* FMCElement which Stereotype text is needed.
* @return The Stereotypes text for node.
*/
public String getStereotypeText(FMCElement node);
/**
* Erase the Stereotype text from a given string.
*
* @param value
* String which should substring.
* @return String object without the Stereotype text.
*/
public String substringStereotype(String value);
}