Klasse SimpleDocument
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.SimpleDocument
- Alle implementierten Schnittstellen:
org.eclipse.jface.text.IDocument
Minimal implementation of IDocument to apply text edit onto a string.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.eclipse.jface.text.IDocument
DEFAULT_CATEGORY, DEFAULT_CONTENT_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddDocumentListener(org.eclipse.jface.text.IDocumentListener listener) voidaddDocumentPartitioningListener(org.eclipse.jface.text.IDocumentPartitioningListener listener) voidaddPosition(String category, org.eclipse.jface.text.Position position) voidaddPosition(org.eclipse.jface.text.Position position) voidaddPositionCategory(String category) voidaddPositionUpdater(org.eclipse.jface.text.IPositionUpdater updater) voidaddPrenotifiedDocumentListener(org.eclipse.jface.text.IDocumentListener documentAdapter) intcomputeIndexInCategory(String category, int offset) intcomputeNumberOfLines(String text) org.eclipse.jface.text.ITypedRegion[]computePartitioning(int offset, int length) booleancontainsPosition(String category, int offset, int length) booleancontainsPositionCategory(String category) get()get(int offset, int length) chargetChar(int offset) getContentType(int offset) org.eclipse.jface.text.IDocumentPartitionerString[]String[]intgetLineDelimiter(int line) org.eclipse.jface.text.IRegiongetLineInformation(int line) org.eclipse.jface.text.IRegiongetLineInformationOfOffset(int offset) intgetLineLength(int line) intgetLineOffset(int line) intgetLineOfOffset(int offset) intintgetNumberOfLines(int offset, int length) org.eclipse.jface.text.ITypedRegiongetPartition(int offset) String[]org.eclipse.jface.text.Position[]getPositions(String category) org.eclipse.jface.text.IPositionUpdater[]voidinsertPositionUpdater(org.eclipse.jface.text.IPositionUpdater updater, int index) voidremoveDocumentListener(org.eclipse.jface.text.IDocumentListener listener) voidremoveDocumentPartitioningListener(org.eclipse.jface.text.IDocumentPartitioningListener listener) voidremovePosition(String category, org.eclipse.jface.text.Position position) voidremovePosition(org.eclipse.jface.text.Position position) voidremovePositionCategory(String category) voidremovePositionUpdater(org.eclipse.jface.text.IPositionUpdater updater) voidremovePrenotifiedDocumentListener(org.eclipse.jface.text.IDocumentListener documentAdapter) voidintsearch(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord) Veraltet.voidvoidsetDocumentPartitioner(org.eclipse.jface.text.IDocumentPartitioner partitioner)
-
Konstruktordetails
-
SimpleDocument
-
-
Methodendetails
-
getChar
public char getChar(int offset) - Angegeben von:
getCharin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLength
public int getLength()- Angegeben von:
getLengthin Schnittstelleorg.eclipse.jface.text.IDocument
-
get
- Angegeben von:
getin Schnittstelleorg.eclipse.jface.text.IDocument
-
get
- Angegeben von:
getin Schnittstelleorg.eclipse.jface.text.IDocument
-
set
- Angegeben von:
setin Schnittstelleorg.eclipse.jface.text.IDocument
-
replace
- Angegeben von:
replacein Schnittstelleorg.eclipse.jface.text.IDocument
-
addDocumentListener
public void addDocumentListener(org.eclipse.jface.text.IDocumentListener listener) - Angegeben von:
addDocumentListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
removeDocumentListener
public void removeDocumentListener(org.eclipse.jface.text.IDocumentListener listener) - Angegeben von:
removeDocumentListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
addPrenotifiedDocumentListener
public void addPrenotifiedDocumentListener(org.eclipse.jface.text.IDocumentListener documentAdapter) - Angegeben von:
addPrenotifiedDocumentListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
removePrenotifiedDocumentListener
public void removePrenotifiedDocumentListener(org.eclipse.jface.text.IDocumentListener documentAdapter) - Angegeben von:
removePrenotifiedDocumentListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
addPositionCategory
- Angegeben von:
addPositionCategoryin Schnittstelleorg.eclipse.jface.text.IDocument
-
removePositionCategory
- Angegeben von:
removePositionCategoryin Schnittstelleorg.eclipse.jface.text.IDocument
-
getPositionCategories
- Angegeben von:
getPositionCategoriesin Schnittstelleorg.eclipse.jface.text.IDocument
-
containsPositionCategory
- Angegeben von:
containsPositionCategoryin Schnittstelleorg.eclipse.jface.text.IDocument
-
addPosition
public void addPosition(org.eclipse.jface.text.Position position) - Angegeben von:
addPositionin Schnittstelleorg.eclipse.jface.text.IDocument
-
removePosition
public void removePosition(org.eclipse.jface.text.Position position) - Angegeben von:
removePositionin Schnittstelleorg.eclipse.jface.text.IDocument
-
addPosition
- Angegeben von:
addPositionin Schnittstelleorg.eclipse.jface.text.IDocument
-
removePosition
- Angegeben von:
removePositionin Schnittstelleorg.eclipse.jface.text.IDocument
-
getPositions
- Angegeben von:
getPositionsin Schnittstelleorg.eclipse.jface.text.IDocument
-
containsPosition
- Angegeben von:
containsPositionin Schnittstelleorg.eclipse.jface.text.IDocument
-
computeIndexInCategory
- Angegeben von:
computeIndexInCategoryin Schnittstelleorg.eclipse.jface.text.IDocument
-
addPositionUpdater
public void addPositionUpdater(org.eclipse.jface.text.IPositionUpdater updater) - Angegeben von:
addPositionUpdaterin Schnittstelleorg.eclipse.jface.text.IDocument
-
removePositionUpdater
public void removePositionUpdater(org.eclipse.jface.text.IPositionUpdater updater) - Angegeben von:
removePositionUpdaterin Schnittstelleorg.eclipse.jface.text.IDocument
-
insertPositionUpdater
public void insertPositionUpdater(org.eclipse.jface.text.IPositionUpdater updater, int index) - Angegeben von:
insertPositionUpdaterin Schnittstelleorg.eclipse.jface.text.IDocument
-
getPositionUpdaters
public org.eclipse.jface.text.IPositionUpdater[] getPositionUpdaters()- Angegeben von:
getPositionUpdatersin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLegalContentTypes
- Angegeben von:
getLegalContentTypesin Schnittstelleorg.eclipse.jface.text.IDocument
-
getContentType
- Angegeben von:
getContentTypein Schnittstelleorg.eclipse.jface.text.IDocument
-
getPartition
public org.eclipse.jface.text.ITypedRegion getPartition(int offset) - Angegeben von:
getPartitionin Schnittstelleorg.eclipse.jface.text.IDocument
-
computePartitioning
public org.eclipse.jface.text.ITypedRegion[] computePartitioning(int offset, int length) - Angegeben von:
computePartitioningin Schnittstelleorg.eclipse.jface.text.IDocument
-
addDocumentPartitioningListener
public void addDocumentPartitioningListener(org.eclipse.jface.text.IDocumentPartitioningListener listener) - Angegeben von:
addDocumentPartitioningListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
removeDocumentPartitioningListener
public void removeDocumentPartitioningListener(org.eclipse.jface.text.IDocumentPartitioningListener listener) - Angegeben von:
removeDocumentPartitioningListenerin Schnittstelleorg.eclipse.jface.text.IDocument
-
setDocumentPartitioner
public void setDocumentPartitioner(org.eclipse.jface.text.IDocumentPartitioner partitioner) - Angegeben von:
setDocumentPartitionerin Schnittstelleorg.eclipse.jface.text.IDocument
-
getDocumentPartitioner
public org.eclipse.jface.text.IDocumentPartitioner getDocumentPartitioner()- Angegeben von:
getDocumentPartitionerin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineLength
public int getLineLength(int line) - Angegeben von:
getLineLengthin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineOfOffset
public int getLineOfOffset(int offset) - Angegeben von:
getLineOfOffsetin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineOffset
public int getLineOffset(int line) - Angegeben von:
getLineOffsetin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineInformation
public org.eclipse.jface.text.IRegion getLineInformation(int line) - Angegeben von:
getLineInformationin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineInformationOfOffset
public org.eclipse.jface.text.IRegion getLineInformationOfOffset(int offset) - Angegeben von:
getLineInformationOfOffsetin Schnittstelleorg.eclipse.jface.text.IDocument
-
getNumberOfLines
public int getNumberOfLines()- Angegeben von:
getNumberOfLinesin Schnittstelleorg.eclipse.jface.text.IDocument
-
getNumberOfLines
public int getNumberOfLines(int offset, int length) - Angegeben von:
getNumberOfLinesin Schnittstelleorg.eclipse.jface.text.IDocument
-
computeNumberOfLines
- Angegeben von:
computeNumberOfLinesin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLegalLineDelimiters
- Angegeben von:
getLegalLineDelimitersin Schnittstelleorg.eclipse.jface.text.IDocument
-
getLineDelimiter
- Angegeben von:
getLineDelimiterin Schnittstelleorg.eclipse.jface.text.IDocument
-
search
public int search(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord) Veraltet.- Angegeben von:
searchin Schnittstelleorg.eclipse.jface.text.IDocument- Siehe auch:
-