org.nakedobjects.viewer.lightweight.options
Class RemoveAssociationOption

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.MenuOption
      extended byorg.nakedobjects.viewer.lightweight.options.AbstractObjectOption
          extended byorg.nakedobjects.viewer.lightweight.options.RemoveAssociationOption
All Implemented Interfaces:
UserAction

public class RemoveAssociationOption
extends AbstractObjectOption

Destroy this object


Constructor Summary
RemoveAssociationOption()
           
 
Method Summary
 Permission disabled(Workspace workspace, ObjectView view, Location at)
           
 void execute(Workspace frame, ObjectView view, Location at)
           
 
Methods inherited from class org.nakedobjects.viewer.lightweight.options.AbstractObjectOption
disabled, execute, getDescription
 
Methods inherited from class org.nakedobjects.viewer.lightweight.MenuOption
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoveAssociationOption

public RemoveAssociationOption()
Method Detail

disabled

public Permission disabled(Workspace workspace,
                           ObjectView view,
                           Location at)
Overrides:
disabled in class AbstractObjectOption

execute

public void execute(Workspace frame,
                    ObjectView view,
                    Location at)
Specified by:
execute in class AbstractObjectOption