Class TmfTimestampFormatPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.tracecompass.tmf.ui.properties.TmfTimestampFormatPage
All Implemented Interfaces:
EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.swt.events.SelectionListener, org.eclipse.ui.IWorkbenchPreferencePage

public class TmfTimestampFormatPage extends org.eclipse.jface.preference.PreferencePage implements org.eclipse.ui.IWorkbenchPreferencePage, org.eclipse.swt.events.SelectionListener, org.eclipse.jface.util.IPropertyChangeListener
The TMF timestamp format configuration page. This page is used to select the global timestamp and interval time formats (for display and parsing). The user can either pick a pre-defined format or enter his/her own.
Author:
Francois Chouinard
  • Field Summary

    Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    The default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(org.eclipse.ui.IWorkbench workbench)
     
    boolean
     
    void
    propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
     
    void
    widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
     
    void
    widgetSelected(org.eclipse.swt.events.SelectionEvent e)
     

    Methods inherited from class org.eclipse.jface.preference.PreferencePage

    applyData, computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString

    Methods inherited from class org.eclipse.jface.dialogs.DialogPage

    dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage, setVisible

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

    createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible

    Methods inherited from interface org.eclipse.jface.preference.IPreferencePage

    computeSize, isValid, okToLeave, performCancel, setContainer, setSize
  • Constructor Details

    • TmfTimestampFormatPage

      public TmfTimestampFormatPage()
      The default constructor
  • Method Details

    • init

      public void init(org.eclipse.ui.IWorkbench workbench)
      Specified by:
      init in interface org.eclipse.ui.IWorkbenchPreferencePage
    • performOk

      public boolean performOk()
      Specified by:
      performOk in interface org.eclipse.jface.preference.IPreferencePage
      Overrides:
      performOk in class org.eclipse.jface.preference.PreferencePage
    • widgetSelected

      public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
      Specified by:
      widgetSelected in interface org.eclipse.swt.events.SelectionListener
    • widgetDefaultSelected

      public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
      Specified by:
      widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
    • propertyChange

      public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
      Specified by:
      propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener