Class PValidatingWizard
- All Implemented Interfaces:
PValidatingWizardContext,WizardValidationManager,SharedDataManager,PAppContext,ImageObserver,MenuContainer,PropertyChangeListener,VetoableChangeListener,Serializable,EventListener,Accessible
- Direct Known Subclasses:
PAccountCreationWizard,PPurchaseOfferingWizard
When a page switch occurs, validateWizardPage is called
on each page (each wizard page must extend PWizardPage)
to give it the opportunity to validate its data. (If
a page wants to it can call convenience methods on the
WizardValidationManager to have the wizard framework
do default validation and related error handling. If the page
wishes it can have the framework do Portal validation on its data
but elect to do error handling itself. The abstract method
validateData in this class will need to be overridden
to provide any such Portal validation.)
If validation is successful, leavingPage is called on the
page about to be left. The leavingPage method is a
convenient place for the page being left to share out any data which
might be of use to other pages. (To facilitate sharing of data among
wizard pages, subclasses of this base class may wish to make use of
SharedData.)
When the "Finish" button is pressed, the wizard collects data from all
wizard pages and commits new data to the database by calling the
commitData method. This abstract method should be
overridden in a derived class to carry out the appropriate storing of
data. If the account is successfully created, finished
is called. This method may be overridden in a derived class to
carry out additional processing. If a commit-time error occurs,
handleWizardCommitError is called on each page until
one is encoutered which claims ownership of the error. (Again, the
page claiming the error can call commit-time convenience methods on
WizardValidationManager to have the wizard framework
do default error handling.)
If the "Cancel" button is pressed and the user confirms the request,
cancelled is called. This method may be overridden
in a derived class to carry out additional processing.
During recycling (after the wizard is cancelled or after
successfuly creating the account) data sharing is disabled,
recycle is called on each wizard page so that it may
reinitialize itself, and then any data that may have been placed in the
shared data area is discarded.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields inherited from class com.portal.app.comp.PWizard
CANCEL, CANCEL_OPTION, FINISH, FINISH_OPTION, HELP, PAGE_SWITCHFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface com.portal.bas.PAppContext
LESSSPACE, MAXIMIZE, MINIMIZE, MORESPACE, NORMALIZEFields inherited from interface com.portal.app.cc.comp.WizardValidationManager
VALIDATION_FIXERROR, VALIDATION_IGNOREERROR, VALIDATION_NOMATCH -
Constructor Summary
ConstructorsConstructorDescriptionPValidatingWizard(JFrame owner, String wizardName, String wizardType, boolean useNavigator) Builds a wizard based upon wizard name and wizard type tags. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActions(Vector tools) No opvoidNo opvoidTo Add FinishVetoListners from various pages in the Wizard.voidvoidaddSharedDataListener(String propertyName, PropertyChangeListener listener) Adds a shared data listener (aPropertyChangeListener) for a specific property.voidaddSharedDataVetoableListener(String propertyName, VetoableChangeListener listener) Adds a shared data listener (a VetoableChangeListener) for a specific property.protected booleanDisplays a cancel wizard confirmation box and if the response is Yes, hides the wizard.voidchangeSize(Component comp, int spaceNeeded) No opprotected abstract ObjectcommitData(PModelHandle model) Commits the data in the passed-in model handlevoiddisplayCommitError(String str, Component comp) Puts up a commit-time error message.voiddisplayMessage(String str, String title, int messageType, String property) Puts up a simple message with a dismiss button unless the message has been flagged as wanting to be ingnored.intdisplayYesNoMessage(String str, String title, int messageType, String property) Puts up a Yes/No message and returns a value corresponding to the way the message is dismissed unless the message has been flagged as wanting to be ingnored.intPuts up a Yes/No validate-time error message and returns aJOptionPanevalue corresponding to the way the dialog was dismissed.protected voidfinished(PModelHandle model) Reports that the wizard finished successfully (the commit attempt was successful).booleanNo op, always returns truevoidfireSharedDataChangedNotification(String propertyName, Object oldValue, Object newValue) Reports a bound property update to any registered listeners.voidfireSharedDataVetoableNotification(String propertyName, Object oldValue, Object newValue) Fires pre-notification for a bound property change to any registered listeners.protected booleanfirstChanceHandleCommitError(com.portal.app.util.CustomerError customerError) Called before page-wise commit-time error handling is attempted.voidNo opReturns "ValidatingWizard"Returns the shared data.Returns the shared data manager.Returns the name of the wizard.Returns the wizard validation manager.booleanhandleCommitError(com.portal.app.util.CustomerError customerError, Component comp) Alerts the user if the passed in component is capable of handling the passed-in commit-time error.inthandleValidateError(com.portal.app.util.CustomerError customerError, Component comp, boolean alertOnlyIfMatch) Handles a validate-time error on the current page and returns information about the user's response.booleanhasListeners(String propertyName) Checks if there are any listeners for a specific property.booleanhasVetoListeners(String propertyName) Checks if there are any veto listeners for a specific property.protected voidlastChanceHandleCommitError(com.portal.app.util.CustomerError customerError) Called if page-wise commit-time error handling has completed with no page claiming the error.protected voidAdds pages to the wizard based upon the passed-in tag.voidPage switch, cancel, and finish processing.protected voidrecycle()Performs any needed cleanup before this wizard is reused.voidremoveActions(Vector tools) No opvoidNo opvoidremoveSharedDataListener(String propertyName, PropertyChangeListener listener) Removes a shared data listener (a PropertyChangeListener) for a specific property.voidremoveSharedDataVetoableListener(String propertyName, VetoableChangeListener listener) Removes the vetoable listener.voidsetEnabled(PWizardPage page, boolean b) Enables or disables the specified top-level wizard page.voidsetOverlay(Component comp) No opvoidNo opvoidsetVisible(boolean b) Shows or hides the wizard dialog.protected abstract ObjectvalidateData(PModelHandle model) Validates the data in the passed-in model handlevalidateModel(PModelHandle model) Validates the model handle passed in.voidCollects data from the currently visible page (by callingcollectDataon the page) and validates it using default validation.voidDoes page validation when a page switch is about to occur in the wizard.Methods inherited from class com.portal.app.comp.PWizard
addButtonPanelElement, addCancelListener, addCancelVetoableListener, addFinishListener, addFinishVetoableListener, addHelpListener, addPage, addPageSwitchListener, addPageSwitchVetoableListener, getPageAt, getPageCount, getVisiblePage, getVisiblePageIndex, getWizardDialog, pageToIndex, processBack, processCancel, processFinish, processHelp, processNext, removeCancelCommand, removeCancelListener, removeCancelVetoableListener, removeFinishCommand, removeFinishListener, removeFinishVetoableListener, removeHelpCommand, removeHelpListener, removeNotify, removePageSwitchListener, removePageSwitchVetoableListener, setFinishButtonEnabled, setPageEnabled, setVisiblePage, showWizard, showWizardPage, showWizardPage, updateWizardControlsMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Constructor Details
-
PValidatingWizard
Builds a wizard based upon wizard name and wizard type tags. The name tag identifies the constituting page classes and the type identifies the shared data class used for data communication among the wizard pages and for locating resource strings for wizard messages.- Parameters:
wizardName- The properties tag identifying the wizard to be created.wizardType- The properties tag identifying the type of the the wizard. Used to specify the shared data class and to locate resource strings for wizard messages.useNavigator-truefor the wizard to include a navigator allowing for random page selection.falseto omit the navigator.frame- The frame to be used to host the wizard
-
-
Method Details
-
loadPages
Adds pages to the wizard based upon the passed-in tag. The format of the entries associated with the tag in the properties file should be as follows:
The format of the related entries in the resource bundle should be as follows:<wizardPages>.pages=<pageName1> <pageName2> ... <pageName1>.class=<class name (including package)> <pageName2>.class=<class name (including package)> ...
<pageName1>.label=<label for page page> <pageName2>.label=<label for page page> ...
The individual pages to be added to the wizard need to be implementations of
PWizardPage.
- Parameters:
wizardPages- The tag identifying the pages to be added
-
addNotify
public void addNotify() -
setVisible
public void setVisible(boolean b) Shows or hides the wizard dialog.- Overrides:
setVisiblein classPWizard- Parameters:
b- Iftrue, shows the dialog; otherwise, hides it.
-
propertyChange
Page switch, cancel, and finish processing.- Specified by:
propertyChangein interfacePropertyChangeListener- Parameters:
e- The property change event.
-
finished
Reports that the wizard finished successfully (the commit attempt was successful). The following processing is carried out:- A message box informing of the successful commit is displayed.
- The wizard is hidden.
- Parameters:
model- The model handle returned from a successful commit attempt.
-
recycle
protected void recycle()Performs any needed cleanup before this wizard is reused. -
cancelled
protected boolean cancelled()Displays a cancel wizard confirmation box and if the response is Yes, hides the wizard.- Returns:
trueif cancellation was approved; otherwisefalse.
-
validateData
Validates the data in the passed-in model handle- Parameters:
model- The model handle for the data to be validated- Returns:
nullif the validation succeeds, otherwise aCustomerError.- Throws:
RemoteException
-
commitData
Commits the data in the passed-in model handle- Parameters:
model- The model for the data to be committed- Returns:
- A model handle if the commit succeeds, otherwise a
CustomerError - Throws:
RemoteException
-
vetoableChange
Does page validation when a page switch is about to occur in the wizard. If validation fails, aPropertyVetoExceptionis thrown. If it succeeds,leavingPageis called on the page being left. (InleavingPage, a wizard page could elect to share data out that other pages might want to make use of.)- Specified by:
vetoableChangein interfaceVetoableChangeListener- Parameters:
e- The property change event- Throws:
PropertyVetoException
-
validateModel
Validates the model handle passed in.- Specified by:
validateModelin interfaceWizardValidationManager- Parameters:
model- Model handle to be validated.- Returns:
CustomerErrorif the validation fails, otherwisenull.- Throws:
RemoteException- See Also:
-
validatePage
Collects data from the currently visible page (by callingcollectDataon the page) and validates it using default validation. If an error is encountered, then if it contains enough information to auto-locate the field associated with the error, the field is marked. If there is error text associated with the error, it is displayed in a message box. If there is no error text associated with the error, a generic validation error message is displayed. If the user elects to fix the error then this method throws aPValidationException.- Specified by:
validatePagein interfaceWizardValidationManager- Throws:
PValidationException- See Also:
-
handleValidateError
public int handleValidateError(com.portal.app.util.CustomerError customerError, Component comp, boolean alertOnlyIfMatch) Handles a validate-time error on the current page and returns information about the user's response. If the error passed in has sufficient information to auto-locate the field associated with the error, the field is marked. If there is error text associated with the error passed in, it is displayed in a message box. If there isn't any error information passed in, a generic validation error message is displayed.
If thealertOnlyIfMatchflag is set, then only if a field matching the error is found will an error message be displayed.
This method callsdisplayYesNoValidateErrorto display the error message.- Specified by:
handleValidateErrorin interfaceWizardValidationManager- Parameters:
customerError- A customer error object describing the error.comp- TheComponentin which to start the search for the error.alertOnlyIfMatch- Seereturndescription.- Returns:
VALIDATION_IGNOREERRORif the user chooses to ignore the validation error orVALIDATION_FIXERRORif the user chooses to fix the error. If thealertOnlyIfMatchflag is set, then if no matching error field is foundVALIDATION_NOMATCHis returned.- See Also:
-
displayYesNoValidateError
Puts up a Yes/No validate-time error message and returns aJOptionPanevalue corresponding to the way the dialog was dismissed.- Specified by:
displayYesNoValidateErrorin interfaceWizardValidationManager- Parameters:
str- Error message to display. Ifnull, then a default error message is used.- Returns:
JOptionPane.YES_OPTION,JOptionPane.NO_OPTION, orJOptionPane.CLOSED_OPTIONdepending on the user action.
-
displayMessage
Puts up a simple message with a dismiss button unless the message has been flagged as wanting to be ingnored. (The dialog can be made to contain a "Don't remind me again" checkbox.propertyis used to track whether the user wishes to see the message box again.)- Specified by:
displayMessagein interfaceWizardValidationManager- Parameters:
str- The message to display. If the string isnull, a default validation failure message is displayed.title- The title to be displayed. If the string isnull, a default validation failure title is displayed.messageType- AJOptionPanemessage type.property- Ifnullthe message is displayed in a normal message dialog. If non-nullthe message is displayed in aPDisplayOnRequestOptionMsgDlg.- See Also:
-
handleCommitError
Alerts the user if the passed in component is capable of handling the passed-in commit-time error. If the error passed in has sufficient information to auto-locate the field associated with the error, the field is marked and if there is error text associated with the error, it is displayed in a message box or if there is no error text then a generic message is displayed.
This method callsdisplayCommitErrorto display the error message.- Specified by:
handleCommitErrorin interfaceWizardValidationManager- Parameters:
customerError- A customer error object describing the error.comp- TheComponentin which to start the search for the error. If the auto-locate search attempt is successful, the (top-level) wizard page containingcompis switched to before the error message is displayed.- Returns:
trueif a message has been displayed indicating that the page is capable of handling the error; otherwisefalse.- See Also:
-
displayCommitError
Puts up a commit-time error message.- Specified by:
displayCommitErrorin interfaceWizardValidationManager- Parameters:
str- The error string to be displayed. If the string isnull, a default commit failure message is displayed.comp- The (top-level) wizard page containingcompwill be switched to before the error is displayed. Ifnull, no page switch will occur.
-
displayYesNoMessage
Puts up a Yes/No message and returns a value corresponding to the way the message is dismissed unless the message has been flagged as wanting to be ingnored. (The dialog can be made to contain a "Don't remind me again" checkbox.propertyis used to track whether the user wishes to see the message box again.)- Specified by:
displayYesNoMessagein interfaceWizardValidationManager- Parameters:
str- Message to display.title- Message box title.messageType- AJOptionPanemessage type.property- Ifnullthe message is displayed in a normal message dialog. If non-nullthe message is displayed in aPDisplayOnRequestOptionMsgDlg.- Returns:
- If
propertyisnull,JOptionPane.YES_OPTION,JOptionPane.NO_OPTION, orJOptionPane.CLOSED_OPTIONis returned depending on the user action. Ifpropertyis non-null,PDisplayOnRequestOptionMsgDlg.HIDE_DIALOGis an additional possible return value. - See Also:
-
firstChanceHandleCommitError
protected boolean firstChanceHandleCommitError(com.portal.app.util.CustomerError customerError) Called before page-wise commit-time error handling is attempted. If this method returnstruethe error is considered to have claimed and no further error processing will be done. This base implementation simply returnsfalse.- Parameters:
customerError- A customer error object describing the error.- Returns:
trueto signal that the error has been handled;falseif the error has not been handled.
-
lastChanceHandleCommitError
protected void lastChanceHandleCommitError(com.portal.app.util.CustomerError customerError) Called if page-wise commit-time error handling has completed with no page claiming the error. This base implementation visits each wizard page successively, trying to find a field that best matches the error. If a matching field is found, it is marked, the page containing it is switched to, and an error message is displayed. If a match isn't found a generic error is displayed.- Parameters:
customerError- A customer error object describing the error.
-
setOverlay
No op- Specified by:
setOverlayin interfacePAppContext- Parameters:
comp- the component to add to the application
-
changeSize
No op- Specified by:
changeSizein interfacePAppContext- Parameters:
comp- the component to changespaceNeeded- a constant that describes how to change the component's size
-
setStatus
No op- Specified by:
setStatusin interfacePAppContext- Parameters:
status- the new status text
-
addActions
No op- Specified by:
addActionsin interfacePAppContext- Parameters:
tools- aVectorofPBASActionobjects
-
removeActions
No op- Specified by:
removeActionsin interfacePAppContext- Parameters:
tools- aVectorofPBASActionobjects
-
focusOn
No op- Specified by:
focusOnin interfacePAppContext- Parameters:
comp- the component that gets focus
-
addContextChangedListener
No op- Specified by:
addContextChangedListenerin interfacePAppContext- Parameters:
l- aPContextChangedListener
-
removeContextChangedListener
No op- Specified by:
removeContextChangedListenerin interfacePAppContext- Parameters:
l- aPContextChangedListener
-
fireContextChangedEvent
No op, always returns true- Specified by:
fireContextChangedEventin interfacePAppContext- Parameters:
event- aPContextChangedEventevent- Returns:
- False for an
okToExitevent, true otherwise.
-
getAppName
Returns "ValidatingWizard"- Specified by:
getAppNamein interfacePAppContext- Returns:
- A
Stringthat contains the application's name.
-
setEnabled
Enables or disables the specified top-level wizard page. Does nothing ifpageis the currently-visible page or ifpageis not a top-level wizard page.- Specified by:
setEnabledin interfacePValidatingWizardContext- Parameters:
page- Top-level wizard page to be enabled or disabled.b-trueto attempt to enable;falseto attempt to disable.
-
getWizardName
Returns the name of the wizard.- Specified by:
getWizardNamein interfacePValidatingWizardContext- Returns:
- The name of the wizard. This is the name that was passed in to the constructor.
-
getWizardValidationManager
Returns the wizard validation manager.- Specified by:
getWizardValidationManagerin interfacePValidatingWizardContext- Returns:
- The wizard validation manager.
-
hasListeners
Checks if there are any listeners for a specific property.- Specified by:
hasListenersin interfaceSharedDataManager- Parameters:
propertyName- the property name.- Returns:
- true if there are one or more listeners for the given property.
-
hasVetoListeners
Checks if there are any veto listeners for a specific property.- Specified by:
hasVetoListenersin interfaceSharedDataManager- Parameters:
propertyName- the property name.- Returns:
- true if there are ore or more listeners for the given property
-
addFinishVetoListener
To Add FinishVetoListners from various pages in the Wizard. This provides an opportunity for listeners to reject the finish action if they decide to do so.- Parameters:
veto- The VetoableChangeListener
-