| Package | Description |
|---|---|
| processing.mode.java.pdex |
| Modifier and Type | Field and Description |
|---|---|
protected List<CompletionCandidate> |
CompletionGenerator.candidates |
| Modifier and Type | Method and Description |
|---|---|
static CompletionCandidate[] |
CompletionGenerator.checkForTypes(org.eclipse.jdt.core.dom.ASTNode node) |
CompletionCandidate |
CompletionCandidate.withLabelAndCompString(String label,
String completionString) |
CompletionCandidate |
CompletionCandidate.withRegeneratedCompString() |
| Modifier and Type | Method and Description |
|---|---|
protected static DefaultListModel<CompletionCandidate> |
CompletionGenerator.filterPredictions(List<CompletionCandidate> candidates) |
static ArrayList<CompletionCandidate> |
CompletionGenerator.getMembersForType(PreprocessedSketch ps,
CompletionGenerator.ClassMember tehClass,
String childToLookFor,
boolean noCompare,
boolean staticOnly) |
static ArrayList<CompletionCandidate> |
CompletionGenerator.getMembersForType(PreprocessedSketch ps,
String typeName,
String child,
boolean noCompare,
boolean staticOnly)
Loads classes from .jar files in sketch classpath
|
List<CompletionCandidate> |
CompletionGenerator.preparePredictions(PreprocessedSketch ps,
String pdePhrase,
int lineNumber)
The main function that calculates possible code completion candidates
|
protected static List<CompletionCandidate> |
CompletionGenerator.trimCandidates(String newWord,
List<CompletionCandidate> candidates) |
| Modifier and Type | Method and Description |
|---|---|
int |
CompletionCandidate.compareTo(CompletionCandidate cc) |
| Modifier and Type | Method and Description |
|---|---|
protected static DefaultListModel<CompletionCandidate> |
CompletionGenerator.filterPredictions(List<CompletionCandidate> candidates) |
protected void |
JavaTextArea.showSuggestion(DefaultListModel<CompletionCandidate> listModel,
String subWord)
Calculates location of caret and displays the suggestion pop-up.
|
protected static List<CompletionCandidate> |
CompletionGenerator.trimCandidates(String newWord,
List<CompletionCandidate> candidates) |
| Constructor and Description |
|---|
CompletionPanel(JEditTextArea textarea,
int position,
String subWord,
DefaultListModel<CompletionCandidate> items,
Point location,
JavaEditor editor)
Triggers the completion popup
|
Copyright © 2001–2017 Processing Foundation. All rights reserved.