org.eclipse.graphiti.features.context.impl
Class MultiDeleteInfo

java.lang.Object
  extended by org.eclipse.graphiti.features.context.impl.MultiDeleteInfo
All Implemented Interfaces:
IMultiDeleteInfo

public class MultiDeleteInfo
extends Object
implements IMultiDeleteInfo


Field Summary
private  boolean deleteCanceled
           
private  int number
           
private  boolean showDialog
           
 
Constructor Summary
MultiDeleteInfo(boolean showDialog, boolean deleteCanceled, int number)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

showDialog

private boolean showDialog

deleteCanceled

private boolean deleteCanceled

number

private int number
Constructor Detail

MultiDeleteInfo

public MultiDeleteInfo(boolean showDialog,
                       boolean deleteCanceled,
                       int number)
Parameters:
showDialog -
deleteCanceled -
number -
Method Detail

isShowDialog

public boolean isShowDialog()
Description copied from interface: IMultiDeleteInfo
Returns whether a dialog can be shown or should be suppressed.

Specified by:
isShowDialog in interface IMultiDeleteInfo
Returns:
TRUE, a dialog can be shown

setShowDialog

public void setShowDialog(boolean showDialog)
Description copied from interface: IMultiDeleteInfo
Sets whether a dialog can be shown or should be suppressed.

Specified by:
setShowDialog in interface IMultiDeleteInfo
Parameters:
showDialog - TRUE, a dialog can be shown

isDeleteCanceled

public boolean isDeleteCanceled()
Description copied from interface: IMultiDeleteInfo
Returns the state whether delete has been canceled or not.

Specified by:
isDeleteCanceled in interface IMultiDeleteInfo
Returns:
TRUE if delete canceled; FALSE in all other cases

setDeleteCanceled

public void setDeleteCanceled(boolean deleteCanceled)
Description copied from interface: IMultiDeleteInfo
Sets the state whether delete has been canceled or not.

Specified by:
setDeleteCanceled in interface IMultiDeleteInfo
Parameters:
deleteCanceled - TRUE, if delete canceled; FALSE in all other cases

getNumber

public int getNumber()
Description copied from interface: IMultiDeleteInfo
Returns the number of elements which are selected for deletion.

Specified by:
getNumber in interface IMultiDeleteInfo
Returns:
the number of selected elements


Copyright (c) SAP AG 2005, 2010.