pl.edu.agh.cast.importer.wizard.template
Class TemplateGroupTreeEntry
java.lang.Object
pl.edu.agh.cast.importer.wizard.template.TemplateGroupTreeEntry
- All Implemented Interfaces:
- ITreeEntry
public class TemplateGroupTreeEntry
- extends Object
- implements ITreeEntry
Entry used in TreeViewer as a model. Wraps ImportTemplateGroup
.
- Author:
- AGH CAST Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateGroupTreeEntry
public TemplateGroupTreeEntry(ImportTemplateGroup element,
Collection<TemplateGroupTreeEntry> parent)
getElement
public ImportTemplateGroup getElement()
getChildren
public Collection<TemplateTreeEntry> getChildren()
getParent
public Collection<TemplateGroupTreeEntry> getParent()
addChild
public boolean addChild(TemplateTreeEntry template)
removeChild
public boolean removeChild(TemplateTreeEntry template)
getText
public String getText()
- Gets text for an entry.
- Specified by:
getText
in interface ITreeEntry
- Returns:
- entry label
- See Also:
ITreeEntry.getText()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.