org.apache.ws.commons.tcpmon.eclipse.ui
Class MainView

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 org.apache.ws.commons.tcpmon.eclipse.ui.MainView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation

public class MainView
extends org.eclipse.ui.part.ViewPart

The class MainView is the UI mounted into Eclipse as a View


Field Summary
 org.eclipse.swt.widgets.Button addButton
           
 org.eclipse.swt.widgets.Button delayBox
           
 org.eclipse.swt.widgets.Text delayBytes
           
 org.eclipse.swt.widgets.Text delayTime
           
static org.eclipse.swt.widgets.Display display
           
static int ELAPSED_COLUMN
           
 org.eclipse.swt.widgets.Text host
           
 org.eclipse.swt.widgets.Button hTTPProxyBox
           
 org.eclipse.swt.widgets.Text hTTPProxyHost
           
 org.eclipse.swt.widgets.Text hTTPProxyPort
           
 org.eclipse.swt.widgets.Button listenerButton
           
static int OUTHOST_COLUMN
           
 org.eclipse.swt.widgets.Text port
           
 org.eclipse.swt.widgets.Button proxyButton
           
static int REQ_COLUMN
           
static int STATE_COLUMN
           
static int SWT_LABEL
           
static int SWT_TEXT
           
 org.eclipse.swt.widgets.Text tport
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
MainView()
           
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
           
 int getValue(int def, String text)
           
 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, 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

SWT_LABEL

public static final int SWT_LABEL
See Also:
Constant Field Values

SWT_TEXT

public static final int SWT_TEXT
See Also:
Constant Field Values

STATE_COLUMN

public static final int STATE_COLUMN
See Also:
Constant Field Values

OUTHOST_COLUMN

public static final int OUTHOST_COLUMN
See Also:
Constant Field Values

REQ_COLUMN

public static final int REQ_COLUMN
See Also:
Constant Field Values

ELAPSED_COLUMN

public static final int ELAPSED_COLUMN
See Also:
Constant Field Values

display

public static org.eclipse.swt.widgets.Display display

addButton

public org.eclipse.swt.widgets.Button addButton

listenerButton

public org.eclipse.swt.widgets.Button listenerButton

proxyButton

public org.eclipse.swt.widgets.Button proxyButton

hTTPProxyBox

public org.eclipse.swt.widgets.Button hTTPProxyBox

delayBox

public org.eclipse.swt.widgets.Button delayBox

port

public org.eclipse.swt.widgets.Text port

host

public org.eclipse.swt.widgets.Text host

tport

public org.eclipse.swt.widgets.Text tport

hTTPProxyHost

public org.eclipse.swt.widgets.Text hTTPProxyHost

hTTPProxyPort

public org.eclipse.swt.widgets.Text hTTPProxyPort

delayBytes

public org.eclipse.swt.widgets.Text delayBytes

delayTime

public org.eclipse.swt.widgets.Text delayTime
Constructor Detail

MainView

public MainView()
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

setFocus

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

getValue

public int getValue(int def,
                    String text)


Copyright © The Apache Software Foundation. All Rights Reserved.