|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.cmpware.ide.views.SourceCodeView
public class SourceCodeView
This describes the Source Code Viewer.
Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.
| Nested Class Summary | |
|---|---|
protected class |
SourceCodeView.noBg
This class defines no line background style for the disassebmler display. |
protected class |
SourceCodeView.SourceCodeLineBackgroundListener
This class defines the line background style for the source code display. |
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
protected org.eclipse.swt.graphics.Font |
font
The font |
protected static org.eclipse.swt.graphics.Color |
lightGreen
The color light green |
static org.eclipse.swt.graphics.RGB |
lightGreenRGB
The color light green |
protected static org.eclipse.swt.graphics.Color |
lightOrange
The color light orange |
static org.eclipse.swt.graphics.RGB |
lightOrangeRGB
The color light orange |
protected static org.eclipse.swt.graphics.Color |
lightRed
The color light red |
static org.eclipse.swt.graphics.RGB |
lightRedRGB
The color light red RGB data |
protected static org.eclipse.swt.graphics.Color |
lightYellow
The color light yellow |
static org.eclipse.swt.graphics.RGB |
lightYellowRGB
The color light yellow |
protected org.eclipse.swt.widgets.Composite |
parent
The parent widget |
protected org.eclipse.jface.text.source.SourceViewer |
sourceViewer
The Source Viewer |
protected org.eclipse.swt.custom.StyledText |
styledText
The styled text widget |
protected org.eclipse.jface.text.source.VerticalRuler |
verticalRuler
The Vertical Ruler |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
SourceCodeView()
|
|
| Method Summary | |
|---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
void |
dispose()
|
void |
handleEvent(int eventType)
This method is called upon receipt of an event. |
void |
mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
|
void |
mouseDown(org.eclipse.swt.events.MouseEvent e)
|
void |
mouseUp(org.eclipse.swt.events.MouseEvent e)
|
void |
setFocus()
|
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String copyright
protected org.eclipse.swt.widgets.Composite parent
protected org.eclipse.jface.text.source.SourceViewer sourceViewer
protected org.eclipse.swt.custom.StyledText styledText
protected org.eclipse.jface.text.source.VerticalRuler verticalRuler
protected org.eclipse.swt.graphics.Font font
protected static org.eclipse.swt.graphics.Color lightRed
protected static org.eclipse.swt.graphics.Color lightOrange
protected static org.eclipse.swt.graphics.Color lightYellow
protected static org.eclipse.swt.graphics.Color lightGreen
public static org.eclipse.swt.graphics.RGB lightRedRGB
public static org.eclipse.swt.graphics.RGB lightOrangeRGB
public static org.eclipse.swt.graphics.RGB lightYellowRGB
public static org.eclipse.swt.graphics.RGB lightGreenRGB
| Constructor Detail |
|---|
public SourceCodeView()
| Method Detail |
|---|
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartpublic void handleEvent(int eventType)
IListener
handleEvent in interface IListenereventType - a code giving the event type.public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
mouseDoubleClick in interface org.eclipse.swt.events.MouseListenerpublic void mouseDown(org.eclipse.swt.events.MouseEvent e)
mouseDown in interface org.eclipse.swt.events.MouseListenerpublic void mouseUp(org.eclipse.swt.events.MouseEvent e)
mouseUp in interface org.eclipse.swt.events.MouseListenerpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||