|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttemplates.library.FSATemplate
public class FSATemplate
Implementation of a Template which is based on an FSAModel.
| Field Summary | |
|---|---|
protected java.lang.String |
description
The description of the template. |
protected EntityIcon |
icon
The icon of the template. |
protected ides.api.model.fsa.FSAModel |
model
The FSAModel underlying the template. |
protected java.lang.String |
tag
The "ID" of the template. |
| Fields inherited from interface templates.library.Template |
|---|
fsaFlavor, TEMPLATE_DESC, templateFlavor |
| Constructor Summary | |
|---|---|
FSATemplate(TemplateDescriptor td,
ides.api.model.fsa.FSAModel model)
Create a template based on an FSAModel, with the properties
provided in the given TemplateDescriptor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Retrieve the description of the template. |
EntityIcon |
getIcon()
Retrieve the icon of the template. |
ides.api.model.fsa.FSAModel |
getModel()
Retrieve the FSAModel on which the template is based. |
java.lang.String |
getName()
Retrieve the "ID" of the template. |
ides.api.model.fsa.FSAModel |
instantiate()
Create a new instance of the template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String tag
protected java.lang.String description
protected ides.api.model.fsa.FSAModel model
FSAModel underlying the template.
protected EntityIcon icon
| Constructor Detail |
|---|
public FSATemplate(TemplateDescriptor td,
ides.api.model.fsa.FSAModel model)
FSAModel, with the properties
provided in the given TemplateDescriptor.
td - the descriptor with the properties for the new templatemodel - the FSA model on which the template should be based| Method Detail |
|---|
public EntityIcon getIcon()
Template
getIcon in interface Templatepublic java.lang.String getName()
Template
getName in interface Templatepublic ides.api.model.fsa.FSAModel instantiate()
Template
instantiate in interface Templatepublic java.lang.String getDescription()
Template
getDescription in interface Templatepublic ides.api.model.fsa.FSAModel getModel()
TemplateFSAModel on which the template is based.
getModel in interface TemplateFSAModel on which the template is based
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||