|
org.netbeans.modules.editor.lib2/1 1.3 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HighlightsLayerFactory
Factory for producing HighlightsLayer
s. Modules can implement
this interface and register their implementations among the mime-type specific
services under the Editors
folder on the system filesystem.
The infrastructure uses HighlightsLayerFactory
instances
registered in the mime-type specific registry to create HighlightsLayer
s,
which will participate in rendering a document. All factories that the infrastructure
considers relelvant for rendering a document will be asked to create
HighlightsLayer
s for that document.
Nested Class Summary | |
---|---|
static class |
HighlightsLayerFactory.Context
The context passed to a factory when it is asked to create HighlightLayer s. |
Method Summary | |
---|---|
HighlightsLayer[] |
createLayers(HighlightsLayerFactory.Context context)
Creates HighlightLayer s appropriate for the context passed in. |
Method Detail |
---|
HighlightsLayer[] createLayers(HighlightsLayerFactory.Context context)
HighlightLayer
s appropriate for the context passed in.
context
- The context that should be used for creating the layer.
HighlightLayer
s that should be used
for rendering the document in the Context
. This method can
return null
if there are no HighlightLayer
s available.
|
org.netbeans.modules.editor.lib2/1 1.3 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |