org.eclipse.tptp.monitoring.logui.internal.wizards
Class ImportLogWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.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
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
| 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 |
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
ImportLogWizardPage
public ImportLogWizardPage()
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()