TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.monitoring.logui.internal.wizards
Class ImportLogWizardPage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended byorg.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizardPage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class ImportLogWizardPage
extends org.eclipse.jface.wizard.WizardPage
implements org.eclipse.swt.events.SelectionListener


Field Summary
static int ADD
           
static int BUTTON_WIDTH
           
static int DELETE_LOGSET
           
static int EDIT
           
static int NEW_LOGSET
           
static int RENAME_LOGSET
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ImportLogWizardPage()
           
 
Method Summary
 void addElement(LogFileElement element)
           
 void addEmptyLogSet(java.lang.String newLogSetName)
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
protected  void createTableButtons(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 boolean finish()
           
 LogFileDetailsUI getDialog()
           
 LogFileDetailsUI getDialog(int type)
           
 java.util.List getLogFileElements()
           
 LogSetManager getLogSetManager()
           
 LogFileElement getSelectedElement()
           
 java.util.List getSelectedLogFileElements()
           
 org.eclipse.jface.viewers.TableViewer getTableViewer()
           
 void initLocation()
           
 boolean isLogElementValid(LogFileElement elem)
           
 boolean isPageComplete()
           
protected  void loadDefaultLogSet()
           
 void refresh()
           
 void removeAllElements()
          Remove all log elements in a log set
 void removeElement(LogFileElement element)
           
 void removeLogSet(java.lang.String logSetName)
           
 void setDialog(LogFileDetailsUI _dialog)
           
 void setSelectedElement(LogFileElement selection)
           
 void updateLogSetDescription(java.lang.String desc)
           
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

NEW_LOGSET

public static final int NEW_LOGSET
See Also:
Constant Field Values

RENAME_LOGSET

public static final int RENAME_LOGSET
See Also:
Constant Field Values

DELETE_LOGSET

public static final int DELETE_LOGSET
See Also:
Constant Field Values

ADD

public static final int ADD
See Also:
Constant Field Values

EDIT

public static final int EDIT
See Also:
Constant Field Values

BUTTON_WIDTH

public static final int BUTTON_WIDTH
See Also:
Constant Field Values
Constructor Detail

ImportLogWizardPage

public ImportLogWizardPage()
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage

createTableButtons

protected void createTableButtons(org.eclipse.swt.widgets.Composite parent)

loadDefaultLogSet

protected void loadDefaultLogSet()

refresh

public void refresh()

finish

public boolean finish()

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage

addElement

public void addElement(LogFileElement element)

removeElement

public void removeElement(LogFileElement element)

removeAllElements

public void removeAllElements()
Remove all log elements in a log set


getSelectedElement

public LogFileElement getSelectedElement()

setSelectedElement

public void setSelectedElement(LogFileElement selection)

getLogFileElements

public java.util.List getLogFileElements()

getSelectedLogFileElements

public java.util.List getSelectedLogFileElements()

isPageComplete

public boolean isPageComplete()
Specified by:
isPageComplete in interface org.eclipse.jface.wizard.IWizardPage

getDialog

public LogFileDetailsUI getDialog(int type)

getDialog

public LogFileDetailsUI getDialog()

setDialog

public void setDialog(LogFileDetailsUI _dialog)

widgetDefaultSelected

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

widgetSelected

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

addEmptyLogSet

public void addEmptyLogSet(java.lang.String newLogSetName)

removeLogSet

public void removeLogSet(java.lang.String logSetName)

isLogElementValid

public boolean isLogElementValid(LogFileElement elem)

initLocation

public void initLocation()

updateLogSetDescription

public void updateLogSetDescription(java.lang.String desc)

getLogSetManager

public LogSetManager getLogSetManager()

getTableViewer

public org.eclipse.jface.viewers.TableViewer getTableViewer()

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification