de.cau.cs.kieler.kwebs.client.ui
Class KWebSStatusBar
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
org.eclipse.ui.internal.menus.InternalControlContribution
org.eclipse.ui.menus.WorkbenchWindowControlContribution
de.cau.cs.kieler.kwebs.client.ui.KWebSStatusBar
- All Implemented Interfaces:
- EventListener, IContributionItem, IPropertyChangeListener
public class KWebSStatusBar
- extends WorkbenchWindowControlContribution
- implements IPropertyChangeListener
This class makes an addition to the status bar so that the user can identify whether he is
doing local or remote layout.
- Rating

Constructor Summary |
KWebSStatusBar()
Creates a new status bar contribution instance. |
Methods inherited from class org.eclipse.jface.action.ContributionItem |
fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update |
WIDGET_ID
public static final String WIDGET_ID
- The id of this widget.
- See Also:
- Constant Field Values
KWebSStatusBar
public KWebSStatusBar()
- Creates a new status bar contribution instance.
dispose
public void dispose()
-
- Specified by:
dispose
in interface IContributionItem
- Overrides:
dispose
in class ContributionItem
finalize
protected void finalize()
throws Throwable
-
- Overrides:
finalize
in class Object
- Throws:
Throwable
createControl
protected Control createControl(Composite parent)
-
- Specified by:
createControl
in class ControlContribution
propertyChange
public final void propertyChange(PropertyChangeEvent event)
- Listen to preference changes and update the context menu, status symbol and text.
- Specified by:
propertyChange
in interface IPropertyChangeListener
- Parameters:
event
- the property change event
setStatusInfo
public void setStatusInfo()
- Sets the icon of the status label.