@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface ContentCompletionManager
| Modifier and Type | Method and Description | 
|---|---|
void | 
executeInsert(CCItemProxy ccItem,
             AuthorSelectionAndCaretModel selectionModel)
Executes the insert element action. 
 | 
void | 
executeRename(AuthorSelectionAndCaretModel selectionModel,
             CCItemProxy ccItem)
Executes the rename operation. 
 | 
void | 
executeSplit(CCItemProxy ccItem,
            AuthorSelectionAndCaretModel selectionModel)
Splits the element chosen by the user. 
 | 
void | 
executeSurround(CCItemProxy ccItem,
               AuthorSelectionAndCaretModel selectionModel)
Surrounds the current selection with an element that has the specified
 render string and type as chosen by the user/ 
 | 
java.util.List<CCItemProxy> | 
getProposedElementsForInsert(AuthorSelectionAndCaretModel selectionModel)
Returns the proposals for element insertions at the current offset. 
 | 
java.util.List<CCItemProxy> | 
getProposedElementsForRename(AuthorSelectionAndCaretModel selectionModel)
Returns the proposals for renaming. 
 | 
java.util.List<CCItemProxy> | 
getProposedElementsForSurround(AuthorSelectionAndCaretModel selectionModel)
Returns the proposals for a tag to surround the current selection with. 
 | 
java.util.List<CCItemProxy> | 
getProposedElementsToSplit(AuthorSelectionAndCaretModel selectionModel)
Returns the block elements around the caret position that can be split. 
 | 
java.util.List<CCItemProxy> getProposedElementsForInsert(AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException
selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionvoid executeInsert(CCItemProxy ccItem, AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException, ItemNotFoundException
ccItem - The content completion item chosen by the user.selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionItemNotFoundExceptionjava.util.List<CCItemProxy> getProposedElementsForRename(AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException
selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionvoid executeRename(AuthorSelectionAndCaretModel selectionModel, CCItemProxy ccItem) throws javax.swing.text.BadLocationException
selectionModel - The selection and caret model of the document.ccItem - The content completion item chosen for rename.javax.swing.text.BadLocationExceptionjava.util.List<CCItemProxy> getProposedElementsForSurround(AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException
selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionvoid executeSurround(CCItemProxy ccItem, AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException, ItemNotFoundException
ccItem - The content completion item chosen by the user.selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionItemNotFoundExceptionjava.util.List<CCItemProxy> getProposedElementsToSplit(AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException
selectionModel - The selection and caret model of the document.javax.swing.text.BadLocationExceptionvoid executeSplit(CCItemProxy ccItem, AuthorSelectionAndCaretModel selectionModel) throws javax.swing.text.BadLocationException, ItemNotFoundException
ccItem - The element chosen by the user.selectionModel - The selection model of the document.javax.swing.text.BadLocationExceptionItemNotFoundException© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.