ISchedulingRule function ( IResource arg0 ) { IPath loc0 = arg0 . getFullPath ( ) ; if ( loc0 . segmentCount ( ) == 2 && loc0 . segment ( 1 ) . equals ( IProjectDescription . DESCRIPTION_FILE_NAME ) ) return parent ( arg0 ) ; return arg0 ; }
default implementation of iresourcerulefactory #modifyrule . this default implementation returns the resource being modified , or the parent resource if modifying a project description file . note that this must encompass any rule required by the validatesave hook . subclasses may override this method . the rule provided by an overriding method must at least contain the rule from this default implementation . concode_field_sep IWorkspace workspace concode_field_sep ISchedulingRule parent concode_elem_sep ISchedulingRule charsetRule concode_elem_sep ISchedulingRule createRule concode_elem_sep boolean isReadOnly concode_elem_sep ISchedulingRule validateEditRule concode_elem_sep ISchedulingRule copyRule concode_elem_sep ISchedulingRule buildRule concode_elem_sep ISchedulingRule moveRule concode_elem_sep ISchedulingRule refreshRule concode_elem_sep ISchedulingRule deleteRule concode_elem_sep ISchedulingRule markerRule concode_elem_sep ISchedulingRule derivedRule