public final class ZExplorerPropertiesComposite
extends org.eclipse.swt.widgets.Composite
implements org.eclipse.swt.events.ModifyListener
Copyright Micro Focus GmbH.
Not intended to be sub-classed by clients.| Constructor and Description |
|---|
ZExplorerPropertiesComposite(org.eclipse.swt.widgets.Composite pParent,
CustomZServerWizardPage pWizard,
java.lang.String pHostname)
Constructor for initializing a new connection.
|
ZExplorerPropertiesComposite(org.eclipse.swt.widgets.Composite pParent,
MvsSubsystem pSubSystem,
org.eclipse.jface.dialogs.DialogPage pDialog,
java.lang.String pHostname)
Constructor to change properties of an existing connection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyValues(MvsSubsystem pSubSystem)
Validates entered field values and sets them in the z/Explorer
connection, if they are all valid.
|
void |
modifyText(org.eclipse.swt.events.ModifyEvent pE) |
void |
restoreDefaultValues()
Restores default values for all enabled dialog fields.
|
void |
updateFields()
Updates certain fields after e.g.
|
boolean |
validateFields()
Validates entered values of dialog fields and sets a specific error
message if at least one field contains an invalid value.
|
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, 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, updateaddDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toStringpublic ZExplorerPropertiesComposite(org.eclipse.swt.widgets.Composite pParent,
CustomZServerWizardPage pWizard,
java.lang.String pHostname)
pParent - the parent compositepWizard - the new z/Server connection wizardpHostname - the host namepublic ZExplorerPropertiesComposite(org.eclipse.swt.widgets.Composite pParent,
MvsSubsystem pSubSystem,
org.eclipse.jface.dialogs.DialogPage pDialog,
java.lang.String pHostname)
pParent - the parent compositepSubSystem - the MVS sub system instancepHostname - the host namepDialog - the active dialog pagepublic boolean validateFields()
true if all values are valid and false
otherwise.public void modifyText(org.eclipse.swt.events.ModifyEvent pE)
modifyText in interface org.eclipse.swt.events.ModifyListenerpublic void updateFields()
Currently only the "CCI Key" field is being updated by this method.
public boolean applyValues(MvsSubsystem pSubSystem)
pSubSystem - the MVS sub system to apply the values fortrue if entered values were valid and set,
false if at least one field contains an invalid
value and none of the values were setpublic void restoreDefaultValues()
Copyright © 2015 Micro Focus GmbH. All rights reserved.