|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kex.model.ExampleCollector
de.cau.cs.kieler.kex.model.plugin.PluginExampleCollector
public class PluginExampleCollector
Contains all methods to collect example of plugin projects.
Constructor Summary | |
---|---|
PluginExampleCollector()
Constructor for PluginExampleCollector . |
Method Summary | |
---|---|
void |
collectCategory(IConfigurationElement categoryElement)
Collects all categories of plugin-projects. |
List<Category> |
getCategories()
Returns the categorypool if it is not empty, otherwise loads categories. |
static Example |
getExample(String exampleId)
|
Map<String,Example> |
getExamplePool()
Returns the loaded examplePool. |
SourceType |
getSourceType()
Getter for SourceType . |
void |
load()
Loads examples of extenders. |
static Example |
toExample(IConfigurationElement exampleElement)
filters out of a IConfigurationElement a Example . |
Methods inherited from class de.cau.cs.kieler.kex.model.ExampleCollector |
---|
getExamplesAsStrings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginExampleCollector()
PluginExampleCollector
.
Method Detail |
---|
public void load()
load
in class ExampleCollector
public void collectCategory(IConfigurationElement categoryElement)
categoryElement
- , IConfigurationElement
public Map<String,Example> getExamplePool()
ExampleCollector
getExamplePool
in class ExampleCollector
public List<Category> getCategories()
List
of Category
public SourceType getSourceType()
ExampleCollector
SourceType
. Every collector should have one.
getSourceType
in class ExampleCollector
SourceType
public static Example toExample(IConfigurationElement exampleElement)
IConfigurationElement
a Example
.
exampleElement
- , IConfigurationElement
Example
public static Example getExample(String exampleId)
exampleId
- , String
Example
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |