|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CodeFoldingProvider
The interface that defines how a language implementation provides a generic data model for supporting collapsible source code blocks in the code editor.
| Method Summary | |
|---|---|
CodeFoldingModel |
createModel(BasicEditorPane editorPane)
Creates a new data model describing the collapsible source code blocks in the document attached to the specified editor component. |
javax.swing.JPopupMenu |
getPopupMenu()
Returns the popup menu of actions that can be performed by the provider. |
void |
insertUpdate(CodeFoldingModel model,
int offset,
int length)
Executes an immediate update of the model due to an insertion in the document. |
void |
removeUpdate(CodeFoldingModel model,
int offset,
int length)
Executes an immediate update of the model due to a deletion in the document. |
| Method Detail |
|---|
CodeFoldingModel createModel(BasicEditorPane editorPane)
editorPane - the editor pane component
void insertUpdate(CodeFoldingModel model,
int offset,
int length)
model - the code folding data modeloffset - the caret offset of the insertionlength - the length in characters of the inserted text
void removeUpdate(CodeFoldingModel model,
int offset,
int length)
model - the code folding data modeloffset - the caret offset of the deletionlength - the length in characters of the deleted textjavax.swing.JPopupMenu getPopupMenu()
null
if no actions are supported.
null if no actions are supported
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||