org.eclipse.emf.cdo.ui.widgets
Class SessionComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.emf.cdo.ui.widgets.SessionComposite
All Implemented Interfaces:
Drawable

public class SessionComposite
extends Composite

Since:
2.0
Author:
Victor Roldan Betancort

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
SessionComposite(Composite parent, int style)
           
 
Method Summary
 void addListener(int eventType, Listener listener)
          Adds the listener to the collection of listeners who will be notified when an event of the given type occurs.
 PreferenceButton getAutomaticButton()
           
 IHistory<String> getConnectorHistory()
           
 HistoryText getConnectorText()
           
 Label getExampleLabel()
           
 IHistory<String> getRepositoryHistory()
           
 HistoryText getRepositoryText()
           
 String getSessionDescription()
           
 boolean isAutomaticRegistry()
           
 boolean isDescriptionValid()
           
 void rememberSettings()
           
 void removeListener(int eventType, Listener listener)
          Removes the listener from the collection of listeners who will be notified when an event of the given type occurs.
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionComposite

public SessionComposite(Composite parent,
                        int style)
Method Detail

getConnectorHistory

public IHistory<String> getConnectorHistory()

getRepositoryHistory

public IHistory<String> getRepositoryHistory()

getConnectorText

public HistoryText getConnectorText()

getExampleLabel

public Label getExampleLabel()

getRepositoryText

public HistoryText getRepositoryText()

getAutomaticButton

public PreferenceButton getAutomaticButton()

isAutomaticRegistry

public boolean isAutomaticRegistry()

getSessionDescription

public String getSessionDescription()

isDescriptionValid

public boolean isDescriptionValid()
Since:
3.0

rememberSettings

public void rememberSettings()

addListener

public void addListener(int eventType,
                        Listener listener)
Description copied from class: org.eclipse.swt.widgets.Widget
Adds the listener to the collection of listeners who will be notified when an event of the given type occurs. When the event does occur in the widget, the listener is notified by sending it the handleEvent() message. The event type is one of the event constants defined in class SWT.

Overrides:
addListener in class Widget
Parameters:
eventType - the type of event to listen for
listener - the listener which should be notified when the event occurs
See Also:
Listener, SWT, Widget.getListeners(int), Widget.removeListener(int, Listener), Widget.notifyListeners(int, org.eclipse.swt.widgets.Event)

removeListener

public void removeListener(int eventType,
                           Listener listener)
Description copied from class: org.eclipse.swt.widgets.Widget
Removes the listener from the collection of listeners who will be notified when an event of the given type occurs. The event type is one of the event constants defined in class SWT.

Overrides:
removeListener in class Widget
Parameters:
eventType - the type of event to listen for
See Also:
Listener, SWT, Widget.addListener(int, org.eclipse.swt.widgets.Listener), Widget.getListeners(int), Widget.notifyListeners(int, org.eclipse.swt.widgets.Event)


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.