|
||||||||||
| 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.EasyTable
public abstract class EasyTable
This class provides an easy interface for creating tables.
Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.
| Nested Class Summary | |
|---|---|
(package private) class |
EasyTable.EasySelectionAdapter
This selection adapter is used to provide the sorter for the columns. |
static class |
EasyTable.NumericDisplayType
This class contains definitions for the display types for the numeric values in the EasyTable. |
(package private) class |
EasyTable.ViewContentProvider
This class provides the content for the Special Register table view. |
(package private) class |
EasyTable.ViewLabelProvider
This class provides the labels for the Special Register table view. |
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
protected int |
displayType
A general purpose display type flag |
protected boolean |
wordSwap
Are words swapped for 64 bit? |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
EasyTable()
The constructor |
|
| Method Summary | |
|---|---|
void |
addAction(org.eclipse.jface.action.Action a)
This method adds an action to the table View. |
void |
addColumn(EasyColumn c)
This method adds data for a column to the column database. |
java.lang.Number |
changeableType(long l)
This method returns an object of type Integer, HexInteger, Long, Float or Double depending on the display type. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Create the view |
int |
getDisplayType()
This method returns the general purpose display type field. |
abstract java.lang.Object[][] |
getTable()
This method returns a 2D array of Objects used to represent the table. |
void |
handleEvent(int eventType)
This method is called upon receipt of an event. |
void |
setDisplayType(int displayType)
This method sets the general purpose display type field. |
void |
setFocus()
Passing the focus request to the viewer's control. |
void |
setHexadecimal(boolean b)
Deprecated. Use setDisplayType(). |
void |
sortOff()
By default sorting is turned on for the Easy Table. |
void |
toggleWordSwap()
This flag determines how 64-bit data are produced from consecutive 32-bit values. |
| 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, dispose, 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, dispose, 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 int displayType
protected boolean wordSwap
| Constructor Detail |
|---|
public EasyTable()
| Method Detail |
|---|
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartparent - The parent SWT objectpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void handleEvent(int eventType)
IListener
handleEvent in interface IListenereventType - a code giving the event type.public void addColumn(EasyColumn c)
c - The column data.public void addAction(org.eclipse.jface.action.Action a)
a - The Action.public void sortOff()
public void setHexadecimal(boolean b)
b - If this parameter is true, hexadecimal
display is turned on. If this parameter is
false, hexadecimal display is turned off.public void setDisplayType(int displayType)
displayType - the display type flag.public void toggleWordSwap()
public int getDisplayType()
public java.lang.Number changeableType(long l)
l - the value.
public abstract java.lang.Object[][] getTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||