Package com.e1c.langtool.ui.editor.main
Class MainPage
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.custom.ScrolledComposite
com.e1c.langtool.ui.editor.main.MainPage
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
public class MainPage
extends org.eclipse.swt.custom.ScrolledComposite
-
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Control
handle -
Constructor Summary
ConstructorsConstructorDescriptionMainPage(org.eclipse.swt.widgets.Composite parent, int style, StorageMediator storageMediator, org.eclipse.ui.IEditorSite site) Instantiates a new main page. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()org.eclipse.jface.dialogs.IDialogSettingsvoidRefreshes the editor associated with the active text box (if any) if it has changed.voidRefreshes all value-holding text boxes in this page.Methods inherited from class org.eclipse.swt.custom.ScrolledComposite
getAlwaysShowScrollBars, getContent, getExpandHorizontal, getExpandVertical, getMinHeight, getMinWidth, getOrigin, getShowFocusedControl, setAlwaysShowScrollBars, setContent, setExpandHorizontal, setExpandVertical, setLayout, setMinHeight, setMinSize, setMinSize, setMinWidth, setOrigin, setOrigin, setShowFocusedControl, showControlMethods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayoutDeferred, setTabList, toStringMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBarMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalable
-
Constructor Details
-
MainPage
public MainPage(org.eclipse.swt.widgets.Composite parent, int style, StorageMediator storageMediator, org.eclipse.ui.IEditorSite site) Instantiates a new main page.- Parameters:
parent- the parentstyle- the stylestorageMediator- the storage mediatoriWorkbenchPartSite-
-
-
Method Details
-
dispose
public void dispose()- Overrides:
disposein classorg.eclipse.swt.widgets.Widget- See Also:
-
Widget.dispose()
-
refreshEditorOnChanges
public void refreshEditorOnChanges()Refreshes the editor associated with the active text box (if any) if it has changed. -
refreshTextBoxes
public void refreshTextBoxes()Refreshes all value-holding text boxes in this page. -
getDialogSettings
public org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
-