public abstract class PropertyPage
extends com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT_NOTICE
Common copyright notice
|
static java.lang.String |
SCCSID
CMVC descriptors - expanded during extraction
|
Constructor and Description |
---|
PropertyPage(org.eclipse.swt.widgets.Composite parent,
int style,
MQExtObject mqExtObj,
java.lang.Object internalObj,
boolean readonly)
Constructor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
apply()
Notification that Apply has been pressed.
|
abstract java.lang.String |
getBusyDialogText()
Returns the String to be displayed on the busy dialog that is displayed when asynchronously
applying changes
|
abstract void |
init()
Create and initialise the widgets and controls for this page
|
abstract boolean |
isAnyControlEnabled()
Return whether any attribute controls on the page are enabled, and therefore the Apply button
should be enabled
|
abstract boolean |
isChanged()
Return whether or not any attribute values have changed on this page and therefore whether the
changes will need to be applied.
|
apply, changesApplied, init, isAnyControlEnabled, restoreDefaults
addUnexpectedAttributes, getFixedSpaceFont, getUiDisplayGroup, setFixedSpaceFont
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
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, isAutoScalable, 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, update
public static final java.lang.String COPYRIGHT_NOTICE
public static final java.lang.String SCCSID
public PropertyPage(org.eclipse.swt.widgets.Composite parent, int style, MQExtObject mqExtObj, java.lang.Object internalObj, boolean readonly)
parent
- the parent compositestyle
- the SWT style flags to usemqExtObj
- the object for which the property page is forinternalObj
- an internal MQ Objectreadonly
- whether the controls should be readonlypublic abstract void init()
init
in class com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase
public abstract void apply()
parent.getDisplay().asyncExec(new Runnable() { public void run() { //Get the text from the input text box String name = nameText.getText(); //Update the message label messageLabel.setText("Hello " + name); //$NON-NLS-1$ } });
apply
in class com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase
public abstract boolean isAnyControlEnabled()
isAnyControlEnabled
in class com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase
public abstract boolean isChanged()
isChanged
in class com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase
public abstract java.lang.String getBusyDialogText()
getBusyDialogText
in class com.ibm.mq.explorer.ui.internal.properties.PropertyPageBase