Interface PathManager.Callback
- Enclosing interface:
- PathManager
public static interface PathManager.Callback
A callback, see
PathManager.registerCallback(String, Callback, Event...)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA handle to a callback -
Method Summary
Modifier and TypeMethodDescriptionvoidpathEvent(PathManager.Event event, PathEntry pathEntry) Called once the model has been successfully updated, and the path has been updated in the path manager.voidpathModelEvent(PathManager.PathEventContext eventContext, String name) Called when a path is modified in the model.
-
Method Details
-
pathModelEvent
Called when a path is modified in the model. This happens before any changes are made to the path in the path manager. IfPathManager.PathEventContext.reloadRequired()orPathManager.PathEventContext.restartRequired()are called the path will not get updated in the path manager, and {@code pathEvent) does not get called. @param eventContext the event @param the name of the path being modified -
pathEvent
Called once the model has been successfully updated, and the path has been updated in the path manager.- Parameters:
event- the eventpathEntry- the path entry after the event takes place
-