| Package | Description |
|---|---|
| org.fastnate.generator.context |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultContextModelListener
Base implementation of a
ContextModelListener with empty methods. |
| Modifier and Type | Method and Description |
|---|---|
List<ContextModelListener> |
GeneratorContext.getContextModelListeners()
All listeners of this context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratorContext.addContextModelListener(ContextModelListener listener)
Adds a new listener to this context.
|
void |
GeneratorContext.removeContextModelListener(ContextModelListener listener)
Removes a listener from this context.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
GeneratorContext.fireContextObjectAdded(BiConsumer<ContextModelListener,T> listenerFunction,
T contextObject)
Fires an event to all
listeners. |
void |
GeneratorContext.setContextModelListeners(List<ContextModelListener> contextModelListeners)
All listeners of this context.
|
Copyright © 2020 fastnate.org. All rights reserved.