com.cmpware.ide.views
Class DisassembleView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by com.cmpware.ide.views.DisassembleView
All Implemented Interfaces:
IListener, java.util.EventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.swt.events.MouseListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation

public class DisassembleView
extends org.eclipse.ui.part.ViewPart
implements IListener, org.eclipse.swt.events.MouseListener

This describes the Disassembler Viewer. This replaces the older DasmView class.

Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Nested Class Summary
protected  class DisassembleView.DasmLineStyleListener
          This class defines the line style for the disassebmler display.
protected  class DisassembleView.dependencyStallBg
          This class defines a background style for the SPU.
protected  class DisassembleView.noBg
          This class defines no line background style for the disassebmler display.
protected  class DisassembleView.pipelineIssueBg
          This class defines a background style for the SPU.
protected  class DisassembleView.profileBg
          This class defines the line background style for the disassebmler display.
 
Field Summary
protected  org.eclipse.swt.custom.LineBackgroundListener[] bgListeners
          The array of background listeners
static java.lang.String copyright
          Copyright string
protected static org.eclipse.swt.graphics.Color darkBlue
          The color dark blue
protected static org.eclipse.swt.graphics.Color darkGray
          The color dark gray
protected static org.eclipse.swt.graphics.Color darkGreen
          The color dark green
protected static org.eclipse.swt.graphics.Color darkRed
          The color dark red
protected  DisassembleView.DasmLineStyleListener dasmLineStyleListener
          This is the disassembler line style listener
protected  org.eclipse.swt.custom.StyledTextContent disassembleContent
          The styled text content for the disassemble display
protected  org.eclipse.swt.graphics.Font font
          The font
protected  java.lang.String fontName
          The font name
protected  int fontPoints
          The font size (in points)
protected  int fontType
          The font type (SWT.NORMAL, SWT.BOLD, SWT.ITALIC)
protected static org.eclipse.swt.graphics.Color gray
          The color gray
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.swt.custom.StyledText styledText
          The Styled Text Widget
protected  org.eclipse.swt.graphics.Color textColor
          The text color
protected static org.eclipse.swt.graphics.Color white
          The color white
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
DisassembleView()
           
 
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

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values

parent

protected org.eclipse.swt.widgets.Composite parent
The parent widget


styledText

protected org.eclipse.swt.custom.StyledText styledText
The Styled Text Widget


disassembleContent

protected org.eclipse.swt.custom.StyledTextContent disassembleContent
The styled text content for the disassemble display


dasmLineStyleListener

protected DisassembleView.DasmLineStyleListener dasmLineStyleListener
This is the disassembler line style listener


bgListeners

protected org.eclipse.swt.custom.LineBackgroundListener[] bgListeners
The array of background listeners


white

protected static org.eclipse.swt.graphics.Color white
The color white


gray

protected static org.eclipse.swt.graphics.Color gray
The color gray


darkGray

protected static org.eclipse.swt.graphics.Color darkGray
The color dark gray


darkGreen

protected static org.eclipse.swt.graphics.Color darkGreen
The color dark green


darkBlue

protected static org.eclipse.swt.graphics.Color darkBlue
The color dark blue


darkRed

protected static org.eclipse.swt.graphics.Color darkRed
The color dark red


textColor

protected org.eclipse.swt.graphics.Color textColor
The text color


lightRed

protected static org.eclipse.swt.graphics.Color lightRed
The color light red


lightOrange

protected static org.eclipse.swt.graphics.Color lightOrange
The color light orange


lightYellow

protected static org.eclipse.swt.graphics.Color lightYellow
The color light yellow


lightGreen

protected static org.eclipse.swt.graphics.Color lightGreen
The color light green


lightRedRGB

public static org.eclipse.swt.graphics.RGB lightRedRGB
The color light red RGB data


lightOrangeRGB

public static org.eclipse.swt.graphics.RGB lightOrangeRGB
The color light orange


lightYellowRGB

public static org.eclipse.swt.graphics.RGB lightYellowRGB
The color light yellow


lightGreenRGB

public static org.eclipse.swt.graphics.RGB lightGreenRGB
The color light green


font

protected org.eclipse.swt.graphics.Font font
The font


fontName

protected java.lang.String fontName
The font name


fontPoints

protected int fontPoints
The font size (in points)


fontType

protected int fontType
The font type (SWT.NORMAL, SWT.BOLD, SWT.ITALIC)

Constructor Detail

DisassembleView

public DisassembleView()
Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.ui.part.WorkbenchPart

handleEvent

public void handleEvent(int eventType)
Description copied from interface: IListener
This method is called upon receipt of an event.

Specified by:
handleEvent in interface IListener
Parameters:
eventType - a code giving the event type.

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

mouseDoubleClick

public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseDoubleClick in interface org.eclipse.swt.events.MouseListener

mouseDown

public void mouseDown(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseDown in interface org.eclipse.swt.events.MouseListener

mouseUp

public void mouseUp(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseUp in interface org.eclipse.swt.events.MouseListener