kiwi.ui
Interface WorkspaceEditorFactory
- public abstract interface WorkspaceEditorFactory
This interface represents a factory that creates appropriate
WorkspaceEditor
s for specified objects and classes.
- Version:
- 1.0 (05/98)
- Author:
- Mark Lindner, PING Software Group
getEditorForObject
public WorkspaceEditor getEditorForObject(Object obj)
throws NoAppropriateEditorException
- General-purpose factory method for
WorkspaceEditor
s. Returns
a WorkspaceEditor
instance that is appropriate for editing
the specified object.
- Parameters:
obj
- The object to edit.- Throws:
- NoAppropriateEditorException - If a suitable editor could not be
found for the object.
- See Also:
getEditorForType(java.lang.Class)
getEditorForType
public WorkspaceEditor getEditorForType(Class clazz)
throws NoAppropriateEditorException
- General-purpose factory method for
WorkspaceEditor
s. Returns
a WorkspaceEditor
instance that is appropriate for editing
the specified object.
- Parameters:
obj
- The object to edit.- Throws:
- NoAppropriateEditorException - If a suitable editor could not be
found for the class.
- See Also:
getEditorForObject(java.lang.Object)