Package org.praxislive.ide.pxr.spi
Interface RootEditor.Provider
- All Known Implementing Classes:
GraphEditorProvider,GuiEditorProvider
- Enclosing interface:
RootEditor
public static interface RootEditor.Provider
An interface for providers of root editors. Providers should be
registered using
ServiceProvider. The first provider to return an
editor will be selected. Use service provider position to order if
necessary.-
Method Summary
Modifier and TypeMethodDescriptioncreateEditor(RootProxy root, RootEditor.Context context) Create an editor for the provided root, if the root type, context, etc. are supported by this provider.
-
Method Details
-
createEditor
Create an editor for the provided root, if the root type, context, etc. are supported by this provider.- Parameters:
root- root proxycontext- root editor context- Returns:
- root editor or empty optional
-