|
||||||||||
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
de.cau.cs.kieler.krep.evalbench.ui.views.ConnectionView
public class ConnectionView
A view for logging of connection messages to targets. This includes the information on the current target.
Field Summary | |
---|---|
static String |
ID
The identifier string for this view. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
ConnectionView()
|
Method Summary | |
---|---|
void |
comment(String comment)
Write optional comment about the next transaction. |
void |
createPartControl(Composite parent)
|
void |
dataReceived(String data)
Executed when data is received from the target. |
void |
dataSent(String data)
Executed when data is sent to the target. |
void |
disable()
Disable logging of the connection. |
void |
enable()
Enable logging of the connection. |
TextViewer |
getViewer()
Gets the text viewer. |
static boolean |
log(String msg)
Display the given message in the connection view if the view is open. |
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 |
---|
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, 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 String ID
Constructor Detail |
---|
public ConnectionView()
Method Detail |
---|
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void dataReceived(String data)
dataReceived
in interface ICommunicationListener
data
- that is receivedpublic void dataSent(String data)
dataSent
in interface ICommunicationListener
data
- data to sendpublic TextViewer getViewer()
public static boolean log(String msg)
msg
- message to display in the connection view
public void comment(String comment)
comment
in interface ICommunicationListener
comment
- that describes the next transaction in the protocol.public void enable()
public void disable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |