| |
|
| java.lang.Object org.netbeans.modules.vmd.api.model.Presenter org.netbeans.modules.vmd.api.model.presenters.actions.DeletePresenter
DeletePresenter | abstract public class DeletePresenter extends Presenter (Code) | | This presenters specifies delete ability.
author: David Kaspar |
canDelete | DeletableState canDelete()(Code) | | Returns whether the related component could be deleted.
the deletable state |
createIndeliblePresenter | public static Presenter createIndeliblePresenter()(Code) | | Creates a DeletePresenter that disallows to delete related component.
the delete presenter |
createSilentDeletionPresenter | public static Presenter createSilentDeletionPresenter()(Code) | | Creates a DeletePresentet that disallows to list the component in the confirm-deletion dialog.
the delete presenter |
createUserIndeliblePresenter | public static Presenter createUserIndeliblePresenter()(Code) | | Creates a DeletePresenter that disallows to delete related component by user only.
The component could be deleted by indirect deletion still.
the delete presenter |
delete | abstract protected void delete()(Code) | | Perform the deletion logic for the relation component.
You should also invoke deletion of related components that cannot live without this component.
For deletion invocation, use DeletePresenter.invokeDeletion method.
|
isSilent | boolean isSilent()(Code) | | Returns whether the related component could be listed in the delete dialog.
true, if could be listed; false, if it should be deleted silently |
|
|
|