Runtime

org.eclipse.gmf.runtime.diagram.core.edithelpers
Class NotationViewDependentsAdvice

java.lang.Object
  extended byorg.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
      extended byorg.eclipse.gmf.runtime.diagram.core.edithelpers.NotationViewDependentsAdvice
All Implemented Interfaces:
IEditHelperAdvice

public class NotationViewDependentsAdvice
extends AbstractEditHelperAdvice

Edit helper advice for the DestroyDependentsRequest that destroys notations views under the following circumstances:


Constructor Summary
NotationViewDependentsAdvice()
           
 
Method Summary
protected  ICommand getBeforeDestroyDependentsCommand(DestroyDependentsRequest request)
          Gets my 'before' advice for destroying the dependents of an element that is being destroyed.
 
Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
approveRequest, configureRequest, createType, createType, getAfterConfigureCommand, getAfterCreateCommand, getAfterCreateRelationshipCommand, getAfterDestroyDependentsCommand, getAfterDestroyElementCommand, getAfterDestroyReferenceCommand, getAfterDuplicateCommand, getAfterEditCommand, getAfterEditContextCommand, getAfterMoveCommand, getAfterReorientReferenceRelationshipCommand, getAfterReorientRelationshipCommand, getAfterSetCommand, getBeforeConfigureCommand, getBeforeCreateCommand, getBeforeCreateRelationshipCommand, getBeforeDestroyElementCommand, getBeforeDestroyReferenceCommand, getBeforeDuplicateCommand, getBeforeEditCommand, getBeforeEditContextCommand, getBeforeMoveCommand, getBeforeReorientReferenceRelationshipCommand, getBeforeReorientRelationshipCommand, getBeforeSetCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotationViewDependentsAdvice

public NotationViewDependentsAdvice()
Method Detail

getBeforeDestroyDependentsCommand

protected ICommand getBeforeDestroyDependentsCommand(DestroyDependentsRequest request)
Description copied from class: AbstractEditHelperAdvice
Gets my 'before' advice for destroying the dependents of an element that is being destroyed.

Overrides:
getBeforeDestroyDependentsCommand in class AbstractEditHelperAdvice
Parameters:
request - the request
Returns:
the command to execute before the edit helper work is done

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.