// Path: src/java/com/idega/xformsmanager/component/FormComponent.java
// public interface FormComponent {
// 	
// 	/**
// 	 * loads xforms component from components template. This should be called BEFORE create().
// 	 */
// 	public abstract void loadFromTemplate();
// 	
// 	/**
// 	 * adds templated component to the xform document. This method should be called AFTER
// 	 * loadFromTemplate(). The sufficient information should be already added to this component
// 	 * (like parent container)
// 	 * 
// 	 * @see FormComponentContainerImpl addComponent method for example
// 	 */
// 	public abstract void create();
// 	
// 	/**
// 	 * loads xforms component from the xform document. The sufficient information should be already
// 	 * added to this component (like parent container)
// 	 * 
// 	 * @see FormComponentContainerImpl loadContainerComponents method for example
// 	 */
// 	public abstract void load();
// 	
// 	/**
// 	 * specifies the component, before which this component should go in the xforms document
// 	 * 
// 	 * @param component
// 	 *            sibling component
// 	 */
// 	public abstract void setNextSibling(FormComponent component);
// 	
// 	public abstract FormComponent getNextSibling();
// 	
// 	/**
// 	 * moves this component to new location before next sibling specified
// 	 * 
// 	 * @param nextSibling
// 	 */
// 	public abstract void setNextSiblingRerender(FormComponent nextSibling);
// 	
// 	public abstract String getId();
// 	
// 	public abstract void setId(String id);
// 	
// 	public abstract void setType(String type);
// 	
// 	public abstract String getType();
// 	
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract void setParent(FormComponentContainer parent);
// 	
// 	public abstract void setFormDocument(FormDocument form_document);
// 	
// 	/**
// 	 * performs adding component to the confirmation page
// 	 */
// 	public abstract void addToConfirmationPage();
// 	
// 	public abstract FormComponentContainer getParent();
// 	
// 	public abstract void update(ConstUpdateType what);
// 	
// 	public abstract void update(ConstUpdateType what, Object property);
// 	
// 	public abstract ComponentDataBean getComponentDataBean();
// 	
// 	public abstract void setComponentDataBean(
// 	        ComponentDataBean componentDataBean);
// 	
// 	public abstract FormDocument getFormDocument();
// 	
// 	public abstract void dispatchEvent(Event event, Object eventContext,
// 	        FormComponent dispatcher);
// 	
// 	public abstract Node appendChildNode(Node childNode);
// 	
// 	public abstract void mappingSiblingChanged(String... relevantMappings);
// 	
// 	public abstract boolean isInputComponent();
// 	
// 	public abstract FormComponentMapping getFormComponentMapping(Nodeset nodeset);
// }
// 
// Path: src/java/com/idega/xformsmanager/component/FormComponentPage.java
// public interface FormComponentPage extends FormComponentContainer {
// 
// 	public abstract void setButtonAreaComponentId(String buttonAreaId);
// 
// 	public abstract void setPageSiblings(FormComponentPage previous,
// 			FormComponentPage next);
// 
// 	public abstract void pagesSiblingsChanged();
// 
// 	public abstract FormComponentPage getPreviousPage();
// 
// 	public abstract FormComponentPage getNextPage();
// 
// 	public abstract ButtonArea getButtonArea();
// 
// 	/**
// 	 * special page reflects non usual step in the form - this is either some
// 	 * behavioral page (e.g. save form), thank you page and so on
// 	 * 
// 	 * @return
// 	 */
// 	public abstract boolean isSpecialPage();
// }


import com.idega.xformsmanager.component.FormComponent;
import com.idega.xformsmanager.component.FormComponentPage;
package com.idega.xformsmanager.manager;


/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.2 $
 * 
 *          Last modified: $Date: 2008/11/13 20:12:27 $ by $Author: civilis $
 */
public interface XFormsManagerButton extends XFormsManager {

	public abstract void renewButtonPageContextPages(FormComponent component,
// Path: src/java/com/idega/xformsmanager/component/FormComponent.java
// public interface FormComponent {
// 	
// 	/**
// 	 * loads xforms component from components template. This should be called BEFORE create().
// 	 */
// 	public abstract void loadFromTemplate();
// 	
// 	/**
// 	 * adds templated component to the xform document. This method should be called AFTER
// 	 * loadFromTemplate(). The sufficient information should be already added to this component
// 	 * (like parent container)
// 	 * 
// 	 * @see FormComponentContainerImpl addComponent method for example
// 	 */
// 	public abstract void create();
// 	
// 	/**
// 	 * loads xforms component from the xform document. The sufficient information should be already
// 	 * added to this component (like parent container)
// 	 * 
// 	 * @see FormComponentContainerImpl loadContainerComponents method for example
// 	 */
// 	public abstract void load();
// 	
// 	/**
// 	 * specifies the component, before which this component should go in the xforms document
// 	 * 
// 	 * @param component
// 	 *            sibling component
// 	 */
// 	public abstract void setNextSibling(FormComponent component);
// 	
// 	public abstract FormComponent getNextSibling();
// 	
// 	/**
// 	 * moves this component to new location before next sibling specified
// 	 * 
// 	 * @param nextSibling
// 	 */
// 	public abstract void setNextSiblingRerender(FormComponent nextSibling);
// 	
// 	public abstract String getId();
// 	
// 	public abstract void setId(String id);
// 	
// 	public abstract void setType(String type);
// 	
// 	public abstract String getType();
// 	
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract void setParent(FormComponentContainer parent);
// 	
// 	public abstract void setFormDocument(FormDocument form_document);
// 	
// 	/**
// 	 * performs adding component to the confirmation page
// 	 */
// 	public abstract void addToConfirmationPage();
// 	
// 	public abstract FormComponentContainer getParent();
// 	
// 	public abstract void update(ConstUpdateType what);
// 	
// 	public abstract void update(ConstUpdateType what, Object property);
// 	
// 	public abstract ComponentDataBean getComponentDataBean();
// 	
// 	public abstract void setComponentDataBean(
// 	        ComponentDataBean componentDataBean);
// 	
// 	public abstract FormDocument getFormDocument();
// 	
// 	public abstract void dispatchEvent(Event event, Object eventContext,
// 	        FormComponent dispatcher);
// 	
// 	public abstract Node appendChildNode(Node childNode);
// 	
// 	public abstract void mappingSiblingChanged(String... relevantMappings);
// 	
// 	public abstract boolean isInputComponent();
// 	
// 	public abstract FormComponentMapping getFormComponentMapping(Nodeset nodeset);
// }
// 
// Path: src/java/com/idega/xformsmanager/component/FormComponentPage.java
// public interface FormComponentPage extends FormComponentContainer {
// 
// 	public abstract void setButtonAreaComponentId(String buttonAreaId);
// 
// 	public abstract void setPageSiblings(FormComponentPage previous,
// 			FormComponentPage next);
// 
// 	public abstract void pagesSiblingsChanged();
// 
// 	public abstract FormComponentPage getPreviousPage();
// 
// 	public abstract FormComponentPage getNextPage();
// 
// 	public abstract ButtonArea getButtonArea();
// 
// 	/**
// 	 * special page reflects non usual step in the form - this is either some
// 	 * behavioral page (e.g. save form), thank you page and so on
// 	 * 
// 	 * @return
// 	 */
// 	public abstract boolean isSpecialPage();
// }


// Path: src/java/com/idega/xformsmanager/manager/XFormsManagerButton.java
import com.idega.xformsmanager.component.FormComponent;
import com.idega.xformsmanager.component.FormComponentPage;

package com.idega.xformsmanager.manager;


/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.2 $
 * 
 *          Last modified: $Date: 2008/11/13 20:12:27 $ by $Author: civilis $
 */
public interface XFormsManagerButton extends XFormsManager {

	public abstract void renewButtonPageContextPages(FormComponent component,
			FormComponentPage previous, FormComponentPage next);