Skip to content

Instantly share code, notes, and snippets.

@olivier-schmitt
Last active December 11, 2015 00:59
Show Gist options
  • Save olivier-schmitt/4520245 to your computer and use it in GitHub Desktop.
Save olivier-schmitt/4520245 to your computer and use it in GitHub Desktop.
package mynewspaper.netbeans.completion.lang;
import javax.swing.text.BadLocationException;
import javax.swing.text.StyledDocument;
import org.netbeans.spi.editor.completion.xhtml.api.CompleteAction;
import org.netbeans.spi.editor.completion.xhtml.api.CompletionItemData;
/**
*
* @author oschmitt
*/
public class CreateCompleteAction implements CompleteAction {
@Override
public void perform(CompletionItemData completionItemData,
StyledDocument styledDocument,
int position, int length) throws BadLocationException {
// This action is triggered when user choose the "Create" item
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment