Interface RootEditor.Provider

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 Type
    Method
    Description
    createEditor(org.praxislive.ide.model.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

      Optional<RootEditor> createEditor(org.praxislive.ide.model.RootProxy root, RootEditor.Context context)
      Create an editor for the provided root, if the root type, context, etc. are supported by this provider.
      Parameters:
      root - root proxy
      context - root editor context
      Returns:
      root editor or empty optional