IPersistableElement function ( Object arg0 ) { if ( arg0 instanceof IResource ) { return new ResourceFactory ( ( IResource ) arg0 ) ; } if ( arg0 instanceof IWorkspace ) { return workspaceFactory ; } return null ; }
returns an object which is an instance of ipersistableelement associated with the given object . returns null if no such object can be found . concode_field_sep ResourceFactory resourceFactory concode_elem_sep WorkbenchRootResource rootAdapter concode_elem_sep WorkspaceFactory workspaceFactory concode_elem_sep WorkbenchProject projectAdapter concode_elem_sep WorkbenchFolder folderAdapter concode_elem_sep WorkbenchMarker markerAdapter concode_elem_sep WorkbenchFile fileAdapter concode_elem_sep WorkbenchWorkspace workspaceAdapter concode_field_sep T getAdapter concode_elem_sep Class<?>[] getAdapterList concode_elem_sep IElementFactory getElementFactory concode_elem_sep IWorkbenchAdapter getWorkbenchElement concode_elem_sep IActionFilter getActionFilter concode_elem_sep IUndoContext getUndoContext