com.ebmwebsourcing.petalsbpm.bpmndiagram.modeleditor.template
Class AbstractTemplate
java.lang.Object
com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate
com.ebmwebsourcing.petalsbpm.bpmndiagram.modeleditor.template.AbstractTemplate
- Direct Known Subclasses:
- CommonFormTemplate
public abstract class AbstractTemplate
- extends com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate
| Fields inherited from class com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate |
fields, hasObserver |
| Methods inherited from class com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate |
getMappedModelTypes, getUIField, setFields |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTemplate
public AbstractTemplate(IBPMNElement bpmnElement)
AbstractTemplate
public AbstractTemplate()
AbstractTemplate
public AbstractTemplate(com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView bpmnDiagram)
refresh
public void refresh()
- Specified by:
refresh in class com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate
getTemplate
public com.google.gwt.user.client.ui.Widget getTemplate()
- Specified by:
getTemplate in class com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate
getPairs
protected abstract java.util.List<AbstractTemplate.LabelWidgetPair> getPairs()
getTitle
protected java.lang.String getTitle()
initMappingPolicies
protected void initMappingPolicies()
getBpmnElement
public IBPMNElement getBpmnElement()
registerSubclass
protected <T extends ActivityEditorModel> void registerSubclass(java.lang.Class<T> clazz)
- Registers a class as a subclass of AbstractTemplate
This method must be used only when overriding in registerSubclasses()
- Type Parameters:
T - - Parameters:
clazz -
registerSubclasses
protected void registerSubclasses()
- Method called during initialization cycle
It should contain calls to registerSubclass() only.
The default implementation does nothing at all.
- See Also:
registerSubclass(Class),
initMappingPolicies()
getSubclasses
protected java.util.List<java.lang.Class<? extends com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel>> getSubclasses()
- Use this method in subclasses when adding custom fields in subclasses
- Returns:
Copyright © 2010-2011 eBM WebSourcing. All Rights Reserved.