org.nakedobjects.plugins.dnd.viewer.content
Class AbstractContent

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
All Implemented Interfaces:
Content
Direct Known Subclasses:
AbstractCollectionContent, AbstractObjectContent, AbstractTextParsableContent, OptionContent, PerspectiveContent, ServiceObject

public abstract class AbstractContent
extends java.lang.Object
implements Content


Constructor Summary
AbstractContent()
           
 
Method Summary
 void contentMenuOptions(UserActionSet options)
          Allows this content to add menu options to the set of menu options the user will see for this content.
 boolean isCollection()
          Returns true if this content represents a NakedCollection.
 boolean isObject()
          Returns true if this content represents a NakedObject.
 boolean isPersistable()
          Returns true if the object represented by this content can be persisted.
 boolean isTextParseable()
           
 void viewMenuOptions(UserActionSet options)
          Allows this content to add menu options to the set of menu options the user will see for this view.
 java.lang.String windowTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.plugins.dnd.Content
canDrop, debugDetails, drop, getDescription, getHelp, getIconName, getIconPicture, getId, getNaked, getOptions, getSpecification, isOptionEnabled, isTransient, parseTextEntry, title
 

Constructor Detail

AbstractContent

public AbstractContent()
Method Detail

contentMenuOptions

public void contentMenuOptions(UserActionSet options)
Description copied from interface: Content
Allows this content to add menu options to the set of menu options the user will see for this content.

Specified by:
contentMenuOptions in interface Content
See Also:
Content.viewMenuOptions(UserActionSet)

isCollection

public boolean isCollection()
Description copied from interface: Content
Returns true if this content represents a NakedCollection.

Specified by:
isCollection in interface Content

isObject

public boolean isObject()
Description copied from interface: Content
Returns true if this content represents a NakedObject.

Specified by:
isObject in interface Content

isPersistable

public boolean isPersistable()
Description copied from interface: Content
Returns true if the object represented by this content can be persisted.

Specified by:
isPersistable in interface Content

isTextParseable

public boolean isTextParseable()
Specified by:
isTextParseable in interface Content

viewMenuOptions

public void viewMenuOptions(UserActionSet options)
Description copied from interface: Content
Allows this content to add menu options to the set of menu options the user will see for this view.

Specified by:
viewMenuOptions in interface Content
See Also:
Content.contentMenuOptions(UserActionSet)

windowTitle

public java.lang.String windowTitle()
Specified by:
windowTitle in interface Content


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