SAM

org.topcased.modeler.sam.edit.policies
Class DeleteSAMPortEditPolicy

java.lang.Object
  extended by DeleteModelObjectEditPolicy
      extended by org.topcased.modeler.sam.edit.policies.DeleteSAMPortEditPolicy

public class DeleteSAMPortEditPolicy
extends DeleteModelObjectEditPolicy

A custom Policy for the Ports in SAM. Enablement of the "Delete" command depends on the type of container and the type of Port Creation 23 août 06


Constructor Summary
DeleteSAMPortEditPolicy()
           
 
Method Summary
 boolean understandsRequest(org.eclipse.gef.Request req)
          Do not delete the Port when contained by a SynchonisationGate that the minimum amount is reached Do not delete instances of a port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSAMPortEditPolicy

public DeleteSAMPortEditPolicy()
Method Detail

understandsRequest

public boolean understandsRequest(org.eclipse.gef.Request req)
Do not delete the Port when contained by a SynchonisationGate that the minimum amount is reached Do not delete instances of a port.

See Also:
org.topcased.modeler.edit.policies.DeleteModelObjectEditPolicy#understandsRequest(org.eclipse.gef.Request)

SAM

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.