|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.ide.views.DisassembleContent
public class DisassembleContent
This describes the content implementation for the Disassembly Viewer. This replaces the older DasmView class.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static int |
charsPerLine
Number of characters per padded disassemble line (includes newline) |
static java.lang.String |
copyright
Copyright string |
static java.lang.String |
spaces80
A string containing 80 spaces (used for padding) |
| Constructor Summary | |
|---|---|
DisassembleContent()
|
|
| Method Summary | |
|---|---|
void |
addTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
|
int |
getCharCount()
|
java.lang.String |
getLine(int lineIndex)
|
int |
getLineAtOffset(int offset)
|
int |
getLineCount()
|
java.lang.String |
getLineDelimiter()
|
int |
getOffsetAtLine(int lineIndex)
|
java.lang.String |
getTextRange(int start,
int length)
|
void |
removeTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
|
void |
replaceTextRange(int start,
int replaceLength,
java.lang.String text)
|
void |
setText(java.lang.String text)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static final int charsPerLine
public static final java.lang.String spaces80
| Constructor Detail |
|---|
public DisassembleContent()
| Method Detail |
|---|
public void addTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
addTextChangeListener in interface org.eclipse.swt.custom.StyledTextContentpublic int getCharCount()
getCharCount in interface org.eclipse.swt.custom.StyledTextContentpublic java.lang.String getLine(int lineIndex)
getLine in interface org.eclipse.swt.custom.StyledTextContentpublic int getLineAtOffset(int offset)
getLineAtOffset in interface org.eclipse.swt.custom.StyledTextContentpublic int getLineCount()
getLineCount in interface org.eclipse.swt.custom.StyledTextContentpublic java.lang.String getLineDelimiter()
getLineDelimiter in interface org.eclipse.swt.custom.StyledTextContentpublic int getOffsetAtLine(int lineIndex)
getOffsetAtLine in interface org.eclipse.swt.custom.StyledTextContent
public java.lang.String getTextRange(int start,
int length)
getTextRange in interface org.eclipse.swt.custom.StyledTextContentpublic void removeTextChangeListener(org.eclipse.swt.custom.TextChangeListener listener)
removeTextChangeListener in interface org.eclipse.swt.custom.StyledTextContent
public void replaceTextRange(int start,
int replaceLength,
java.lang.String text)
replaceTextRange in interface org.eclipse.swt.custom.StyledTextContentpublic void setText(java.lang.String text)
setText in interface org.eclipse.swt.custom.StyledTextContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||