blob: fa9e111d1cc1594616cc3a94f20ea9ab2b87163b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Red Hat Inc..
* 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:
* Mickael Istria (Red Hat) - initial API and implementation
* Rastislav Wagner (Red Hat) - initial API and implementation
*******************************************************************************/
package org.eclipse.swtbot.generator.framework;
import java.util.List;
import org.eclipse.swt.graphics.Image;
public interface Generator {
/**
* Create simple rules
* @return all simple rules
*/
public List<GenerationSimpleRule> createSimpleRules();
/**
* Create complex rules
* @return all complex rules
*/
public List<GenerationComplexRule> createComplexRules();
/**
* Create annotation rules
* @return all annotation rules
*/
public List<AnnotationRule> createAnnotationRules();
/**
*
* @return generator name
*/
public String getLabel();
/**
* Image or logo of generator
* @return image representing generator or null if there's no image
*/
public Image getImage();
}