org.nakedobjects.plugins.dnd.viewer.view.field
Class CopyValueOption

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
      extended by org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
          extended by org.nakedobjects.plugins.dnd.viewer.view.field.CopyValueOption
All Implemented Interfaces:
UserAction

public class CopyValueOption
extends AbstractValueOption


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
field
 
Fields inherited from interface org.nakedobjects.plugins.dnd.UserAction
DEBUG, EXPLORATION, USER
 
Constructor Summary
CopyValueOption(AbstractField field)
           
 
Method Summary
 Consent disabled(View view)
          Indicate that this action is disabled
 void execute(Workspace frame, View view, Location at)
          Invoke this action.
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
getValue, isEmpty, updateParent
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
getDescription, getHelp, getName, getType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyValueOption

public CopyValueOption(AbstractField field)
Method Detail

disabled

public Consent disabled(View view)
Description copied from interface: UserAction
Indicate that this action is disabled

Specified by:
disabled in interface UserAction
Overrides:
disabled in class AbstractUserAction

execute

public void execute(Workspace frame,
                    View view,
                    Location at)
Description copied from interface: UserAction
Invoke this action.

Specified by:
execute in interface UserAction
Specified by:
execute in class AbstractUserAction

toString

public java.lang.String toString()
Overrides:
toString in class AbstractUserAction


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.