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 JComponent
getComponent()
IParseTree
getDeepestLocationAtCaret()
IParseTree
getDeepestStatementLocationAtCaret()
IScriptPartId
getScriptPart()
EditorScrollPane
getScroller()
String
getSelectedText()
SourceType
getSourceType()
IParseTree
getStatementAtLine(int iLine)
IParseTree
getStatementAtLineAtCaret()
IParseTree
getStatementAtLineAtCaretOrExpression()
IParseTree
getStatementAtLineOrExpression(int iLine)
ISymbolTable
getSymbolTable()
String
getText()
AtomicUndoManager
getUndoManager()
void
gotoDeclarationAtCursor()
void
gotoNextError()
void
handleCompleteCode()
void
parse()
void
read(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:
getText
in interfaceIEditorHost
-
read
void read(IScriptPartId ctx, String strSource) throws IOException
- Specified by:
read
in interfaceIEditorHost
- Throws:
IOException
-
parse
void parse()
-
getSymbolTable
ISymbolTable getSymbolTable()
-
getScriptPart
IScriptPartId getScriptPart()
- Specified by:
getScriptPart
in 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:
getUndoManager
in interfaceIEditorHost
-
getScroller
EditorScrollPane getScroller()
- Specified by:
getScroller
in interfaceIEditorHost
-
-