Package com.dassault_systemes.pprnblcabase.controller |
|
Class LCANavDialogController
|
java.lang.Object
|
+-com.dassault_systemes.pprnblcabase.controller.LCABaseController
|
+-com.dassault_systemes.pprnblcabase.controller.LCABaseDialogController
|
+-com.dassault_systemes.pprnblcabase.controller.LCANavDialogController
Framework : PPRJNavigatorBase
Module : PPRNBLcaBase
public class LCANavDialogController
Base controller to support command controllers which operate on a single object.
LCANavDialogController
LCANavDialogController()
onCreate
void onCreate(CATDialog iDialog, CATNotification iNotification, Object iData)
onDocumentChanged
void onDocumentChanged(CATDialog iDialog, CATNotification iNotification, Object iData)
showStatusMessage
void showStatusMessage(boolean iCmdOk, String iObjectID)
Pass objectID to the message in case of multiple objects (Multiupdate)
This method is called for each object for which the command failed
A regular showStatusMessage( boolean iCmdOk) is always called.
showStatusMessage
void showStatusMessage(boolean iCmdOk)
Sets the command status message.
The current message stack is captured for details.
The status message is computed based on the given success/failure of the command.
The status message is computed as follows
- The command message catalog (if it exists) will be searched for a
status message.
for success: Command..StatusSucceeded
for failure: Command..StatusFailed
- If a status message is not found in the command message catalog
we will look for a status message in the current dialogs' CATNls file.
for success: Message.StatusSucceeded
for failure: Message.StatusFailed
- If we still do not have a status message, we will create one by
concatenating the command label with a generic success or failure
message.
raiseObjectUpdatedNotification
void raiseObjectUpdatedNotification(ENOVIDataObject iObject)
Raises a update notification for the given object
showNoSelectionMessage
void showNoSelectionMessage(boolean iSingleSelect)
Shows the "no selected object(s)" message, allowing the caller to specify if the plural should be used.
addToRelationshipNavigator
void addToRelationshipNavigator(ENOVIDataObject iObject)
Adds an object to the relationship navigator component.
addToRelationshipNavigator
void addToRelationshipNavigator(ENOVIDataObject[] iObjects)
Adds a list of objects to the relationship navigator component.
addToRelationshipNavigator
void addToRelationshipNavigator(PortalUID[] rootIDs)
Adds a list of objects to the relationship navigator component.
Copyright © 2000, Dassault Systèmes. All rights reserved