Package org.yamcs.studio.core.ui
Class MissionTimeStatusLineContributionItem
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.yamcs.studio.core.utils.StatusLineContributionItem
org.yamcs.studio.core.ui.MissionTimeStatusLineContributionItem
- All Implemented Interfaces:
IContributionItem
,YamcsAware
public class MissionTimeStatusLineContributionItem
extends StatusLineContributionItem
implements YamcsAware
-
Field Summary
Fields inherited from class org.yamcs.studio.core.utils.StatusLineContributionItem
CALC_TRUE_WIDTH
-
Constructor Summary
ConstructorDescriptionMissionTimeStatusLineContributionItem
(String id, boolean addTrailingSeparator) MissionTimeStatusLineContributionItem
(String id, int charWidth, boolean addTrailingSeparator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
updateTime
(Instant missionTime) Actual mission time as reported by Yamcs Server.Methods inherited from class org.yamcs.studio.core.utils.StatusLineContributionItem
addClickListener, fill, getDisplayLocation, getText, isDisposed, setErrorText, setImage, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.ContributionItem
fill, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.yamcs.studio.core.YamcsAware
changeInstance, changeProcessor, changeProcessorInfo, onYamcsConnected, onYamcsConnecting, onYamcsConnectionFailed, onYamcsDisconnected, updateClearance
-
Constructor Details
-
MissionTimeStatusLineContributionItem
-
MissionTimeStatusLineContributionItem
-
MissionTimeStatusLineContributionItem
public MissionTimeStatusLineContributionItem(String id, int charWidth, boolean addTrailingSeparator)
-
-
Method Details
-
updateTime
Description copied from interface:YamcsAware
Actual mission time as reported by Yamcs Server. If no time is defined (for example when not connected), listeners will receive null- Specified by:
updateTime
in interfaceYamcsAware
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIContributionItem
- Overrides:
dispose
in classContributionItem
-