/*******************************************************************************
* This file is protected by Copyright.
* Please refer to the COPYRIGHT file distributed with this source distribution.
*
* This file is part of REDHAWK IDE.
*
* 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
*******************************************************************************/
package gov.redhawk.ide.codegen.ui;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.widgets.FormToolkit;
/**
* @since 2.0
*/
public interface ICodeGeneratorPageRegistry {
/**
* Finds a wizard page for the specified codegenId
*
* @return a wizard page by looking it by it's codegenId
*/
ICodegenWizardPage[] findPageByGeneratorId(String codegenId);
/**
* Get the default wizard page.
*/
ICodegenWizardPage getDefaultPage();
/**
* Finds a composite for the specified codegenId
*
* @return a composite by looking it by it's codegenId
*/
ICodegenComposite[] findCompositeByGeneratorId(String codegenId, Composite parent, int style, FormToolkit toolkit);
/**
* Get the default composite.
*/
ICodegenComposite getDefaultComposite(Composite parent, int style, FormToolkit toolkit);
}