public interface WorkspaceEditorFactory
WorkspaceEditor
s for specified objects and classes.Modifier and Type | Method and Description |
---|---|
WorkspaceEditor |
getEditorForObject(Object obj)
General-purpose factory method for
WorkspaceEditor s. |
WorkspaceEditor |
getEditorForType(Class clazz)
General-purpose factory method for
WorkspaceEditor s. |
WorkspaceEditor getEditorForObject(Object obj) throws NoAppropriateEditorException
WorkspaceEditor
s. Returns
a WorkspaceEditor
instance that is appropriate for editing
the specified object.obj
- The object to edit.NoAppropriateEditorException
- If a suitable editor could not be
found for the object.getEditorForType(java.lang.Class)
WorkspaceEditor getEditorForType(Class clazz) throws NoAppropriateEditorException
WorkspaceEditor
s. Returns
a WorkspaceEditor
instance that is appropriate for editing
an object of the specified type.clazz
- The type of object to edit.NoAppropriateEditorException
- If a suitable editor could not be
found for the class.getEditorForObject(java.lang.Object)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses