public abstract class GuardedSectionsFactory extends Object
GuardedSectionsProvider
factories for given
mime type. Factories have to be registered under Editors/<mime path>
in the module's layer.Constructor and Description |
---|
GuardedSectionsFactory() |
Modifier and Type | Method and Description |
---|---|
abstract GuardedSectionsProvider |
create(GuardedEditorSupport editor)
Creates a guarded sections provider.
|
static GuardedSectionsFactory |
find(String mimePath)
Use this to find a proper factory instance for the passed mime path.
|
public static GuardedSectionsFactory find(String mimePath)
mimePath
- a mime pathnull
public abstract GuardedSectionsProvider create(GuardedEditorSupport editor)
editor
- an editor support