Package editor
Interface IScriptEditor
-
- All Superinterfaces:
IEditorHost
- All Known Implementing Classes:
GosuEditor,GosuField
public interface IScriptEditor extends IEditorHost
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JComponentgetComponent()IParseTreegetDeepestLocationAtCaret()IParseTreegetDeepestStatementLocationAtCaret()IScriptPartIdgetScriptPart()EditorScrollPanegetScroller()StringgetSelectedText()SourceTypegetSourceType()IParseTreegetStatementAtLine(int iLine)IParseTreegetStatementAtLineAtCaret()IParseTreegetStatementAtLineAtCaretOrExpression()IParseTreegetStatementAtLineOrExpression(int iLine)ISymbolTablegetSymbolTable()StringgetText()AtomicUndoManagergetUndoManager()voidgotoDeclarationAtCursor()voidgotoNextError()voidhandleCompleteCode()voidparse()voidread(IScriptPartId ctx, String strSource)-
Methods inherited from interface editor.IEditorHost
canAddBreakpoint, clipCopy, clipCut, clipPaste, getDocHandler, getDocument, getEditor, getFeedbackPanel, getIssues, getLineCommentDelimiter, getOffsetOfDeepestStatementLocationAtPos, getParsedClass, getTooltipMessage, getTypeAtLine, gotoDeclaration, gotoNextUsageHighlight, gotoPrevUsageHighlight, highlightLocations, parse, refresh, removeAllHighlights, setLabel, setScriptPart, setUndoableEditListener
-
-
-
-
Method Detail
-
getComponent
JComponent getComponent()
-
getSourceType
SourceType getSourceType()
-
getText
String getText()
- Specified by:
getTextin interfaceIEditorHost
-
read
void read(IScriptPartId ctx, String strSource) throws IOException
- Specified by:
readin interfaceIEditorHost- Throws:
IOException
-
parse
void parse()
-
getSymbolTable
ISymbolTable getSymbolTable()
-
getScriptPart
IScriptPartId getScriptPart()
- Specified by:
getScriptPartin interfaceIEditorHost
-
handleCompleteCode
void handleCompleteCode()
-
gotoNextError
void gotoNextError()
-
getDeepestLocationAtCaret
IParseTree getDeepestLocationAtCaret()
-
getDeepestStatementLocationAtCaret
IParseTree getDeepestStatementLocationAtCaret()
-
getStatementAtLineAtCaret
IParseTree getStatementAtLineAtCaret()
-
getStatementAtLine
IParseTree getStatementAtLine(int iLine)
-
gotoDeclarationAtCursor
void gotoDeclarationAtCursor()
-
getSelectedText
String getSelectedText()
-
getStatementAtLineOrExpression
IParseTree getStatementAtLineOrExpression(int iLine)
-
getStatementAtLineAtCaretOrExpression
IParseTree getStatementAtLineAtCaretOrExpression()
-
getUndoManager
AtomicUndoManager getUndoManager()
- Specified by:
getUndoManagerin interfaceIEditorHost
-
getScroller
EditorScrollPane getScroller()
- Specified by:
getScrollerin interfaceIEditorHost
-
-