com.cmpware.ide.views
Class MemoryContent
java.lang.Object
com.cmpware.ide.views.MemoryContent
- All Implemented Interfaces:
- org.eclipse.swt.custom.StyledTextContent
public class MemoryContent
- extends java.lang.Object
- implements org.eclipse.swt.custom.StyledTextContent
This describes the content implementation for the Memory Code Viewer.
Note that this is a standard 80-column hex dump format and is fairly
rigid.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
- Author:
- SAG
|
Field Summary |
static java.lang.String |
copyright
Copyright string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final java.lang.String copyright
- Copyright string
- See Also:
- Constant Field Values
MemoryContent
public MemoryContent()
addTextChangeListener
public void addTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
- Specified by:
addTextChangeListener in interface org.eclipse.swt.custom.StyledTextContent
getCharCount
public int getCharCount()
- Specified by:
getCharCount in interface org.eclipse.swt.custom.StyledTextContent
getLine
public java.lang.String getLine(int lineIndex)
- Specified by:
getLine in interface org.eclipse.swt.custom.StyledTextContent
getLineAtOffset
public int getLineAtOffset(int offset)
- Specified by:
getLineAtOffset in interface org.eclipse.swt.custom.StyledTextContent
getLineCount
public int getLineCount()
- Specified by:
getLineCount in interface org.eclipse.swt.custom.StyledTextContent
getLineDelimiter
public java.lang.String getLineDelimiter()
- Specified by:
getLineDelimiter in interface org.eclipse.swt.custom.StyledTextContent
getOffsetAtLine
public int getOffsetAtLine(int lineIndex)
- Specified by:
getOffsetAtLine in interface org.eclipse.swt.custom.StyledTextContent
getTextRange
public java.lang.String getTextRange(int start,
int length)
- Specified by:
getTextRange in interface org.eclipse.swt.custom.StyledTextContent
removeTextChangeListener
public void removeTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
- Specified by:
removeTextChangeListener in interface org.eclipse.swt.custom.StyledTextContent
replaceTextRange
public void replaceTextRange(int start,
int replaceLength,
java.lang.String text)
- Specified by:
replaceTextRange in interface org.eclipse.swt.custom.StyledTextContent
setText
public void setText(java.lang.String text)
- Specified by:
setText in interface org.eclipse.swt.custom.StyledTextContent