Ptidej-v5.2-master/Ptidej UI/src/ptidej/ui/occurrence/IOccurrencePrimitiveFactory.java
/*******************************************************************************
 * Copyright (c) 2001-2014 Yann-Gal Guhneuc and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Yann-Gal Guhneuc and others, see in file; API and its implementation
 ******************************************************************************/
package ptidej.ui.occurrence;

import java.awt.Dimension;
import java.awt.Point;

import ptidej.ui.RGB;
import ptidej.ui.kernel.ModelGraph;

public interface IOccurrencePrimitiveFactory
	extends ptidej.ui.primitive.IPrimitiveFactory {

	IGroupRectangleButton createGroupRectangleButton(
		final int percentageOfGray,
		final Point position,
		final Dimension dimension,
		final RGB color);
	IGroupOccurrenceModel createGroupOccurrenceModel(
		final Point position,
		final ModelGraph pattern,
		final String tip,
		final RGB color);
	IGroupOccurrenceTip createGroupOccurrenceTip(
		final Point position,
		final String tip,
		final RGB color);
}
