com.application.areca.launcher.gui.common
Class AbstractWindow
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.window.ApplicationWindow
com.application.areca.launcher.gui.common.AbstractWindow
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider
- Direct Known Subclasses:
- AboutWindow, ArchiveWindow, BackupShortcutWizardWindow, BackupStrategyWizardWindow, BackupWindow, CheckWindow, CopyWorkspaceWindow, DeleteWindow, FilterEditionWindow, FTPEditionWindow, GroupEditionWindow, ImportGroupWindow, JavaVendorWindow, LongMessageWindow, MainWindow, MergeWindow, MissingEncryptionDataWindow, MissingFTPDataWindow, NewVersionWindow, PluginConfigurationWindow, PreferencesWindow, ProcessorEditionWindow, RecoverWindow, ReportWindow, SimulationWindow, SourceEditionWindow, TargetEditionWindow
public abstract class AbstractWindow
- extends org.eclipse.jface.window.ApplicationWindow
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.window.ApplicationWindow |
seperator1 |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.window.ApplicationWindow |
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist |
Methods inherited from class org.eclipse.jface.window.Window |
create, createContents, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RM
protected final ResourceManager RM
application
protected Application application
hasBeenUpdated
protected boolean hasBeenUpdated
initialized
protected boolean initialized
size
protected org.eclipse.swt.graphics.Point size
AbstractWindow
public AbstractWindow()
- Parameters:
parentShell
-
computeSize
public static org.eclipse.swt.graphics.Point computeSize(int linuxW,
int linuxH)
computeWidth
public static int computeWidth(int linuxW)
computeHeight
public static int computeHeight(int linuxH)
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
- Overrides:
configureShell
in class org.eclipse.jface.window.ApplicationWindow
close
public boolean close()
- Overrides:
close
in class org.eclipse.jface.window.ApplicationWindow
getFullWindowTitle
protected java.lang.String getFullWindowTitle()
monitorControl
public void monitorControl(org.eclipse.swt.widgets.Text ctrl)
monitorControl
public void monitorControl(org.eclipse.swt.widgets.Button ctrl)
monitorControl
public void monitorControl(org.eclipse.swt.widgets.Combo ctrl)
monitorControl
protected void monitorControl(int swtEventType,
org.eclipse.swt.widgets.Control ctrl)
resetErrorState
public void resetErrorState(org.eclipse.swt.widgets.Control ctrl)
setInError
public void setInError(org.eclipse.swt.widgets.Control ctrl)
constrainShellSize
protected void constrainShellSize()
- Overrides:
constrainShellSize
in class org.eclipse.jface.window.Window
registerUpdate
protected void registerUpdate()
shellActivated
public void shellActivated(org.eclipse.swt.events.ShellEvent e)
shellClosed
public void shellClosed(org.eclipse.swt.events.ShellEvent e)
cancelChanges
protected void cancelChanges()
shellDeactivated
public void shellDeactivated(org.eclipse.swt.events.ShellEvent e)
shellDeiconified
public void shellDeiconified(org.eclipse.swt.events.ShellEvent e)
shellIconified
public void shellIconified(org.eclipse.swt.events.ShellEvent e)
showCancelMessage
protected int showCancelMessage()
setModal
public void setModal(AbstractWindow window)
getSize
public org.eclipse.swt.graphics.Point getSize()
setSize
public void setSize(org.eclipse.swt.graphics.Point size)
getTableLinesVisible
public static boolean getTableLinesVisible()
getTitle
public abstract java.lang.String getTitle()
checkBusinessRules
protected abstract boolean checkBusinessRules()
updateState
protected abstract void updateState(boolean rulesSatisfied)
saveChanges
protected abstract void saveChanges()
configureForTable
public static java.lang.String configureForTable(java.lang.String text)