public class MultiDeleteInfo extends java.lang.Object implements IMultiDeleteInfo
IDeleteContext.getMultiDeleteInfo().| Constructor and Description |
|---|
MultiDeleteInfo(boolean showDialog,
boolean deleteCanceled,
int number)
Creates a new instance with the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber()
Returns the number of elements which are selected for deletion.
|
boolean |
isDeleteCanceled()
Returns the state whether delete has been canceled or not.
|
boolean |
isShowDialog()
Returns whether a dialog can be shown or should be suppressed.
|
void |
setDeleteCanceled(boolean deleteCanceled)
Sets the state whether delete has been canceled or not.
|
void |
setShowDialog(boolean showDialog)
Sets whether a dialog can be shown or should be suppressed.
|
public MultiDeleteInfo(boolean showDialog,
boolean deleteCanceled,
int number)
showDialog - Determines if a "Are you sure" popup will be shown or notdeleteCanceled - Determines if cancellation happenednumber - Provides information on the number of objects to delete; the
number will be shown in the popup if displayed.public boolean isShowDialog()
IMultiDeleteInfoisShowDialog in interface IMultiDeleteInfopublic void setShowDialog(boolean showDialog)
IMultiDeleteInfosetShowDialog in interface IMultiDeleteInfoshowDialog - TRUE, a dialog can be shownpublic boolean isDeleteCanceled()
IMultiDeleteInfoisDeleteCanceled in interface IMultiDeleteInfopublic void setDeleteCanceled(boolean deleteCanceled)
IMultiDeleteInfosetDeleteCanceled in interface IMultiDeleteInfodeleteCanceled - TRUE, if delete canceled; FALSE in all other casespublic int getNumber()
IMultiDeleteInfogetNumber in interface IMultiDeleteInfo