|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.util.Resources
public class Resources
Method Summary | |
---|---|
static org.eclipse.core.runtime.IStatus |
checkInSync(org.eclipse.core.resources.IResource resource)
Checks if the given resource is in sync with the underlying file system. |
static org.eclipse.core.runtime.IStatus |
checkInSync(org.eclipse.core.resources.IResource[] resources)
Checks if the given resources are in sync with the underlying file system. |
static java.lang.String[] |
getLocationOSStrings(org.eclipse.core.resources.IResource[] resources)
|
static org.eclipse.core.runtime.IStatus |
makeCommittable(org.eclipse.core.resources.IResource[] resources,
java.lang.Object context)
Makes the given resources committable. |
static org.eclipse.core.runtime.IStatus |
makeCommittable(org.eclipse.core.resources.IResource resource,
java.lang.Object context)
Makes the given resource committable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.eclipse.core.runtime.IStatus checkInSync(org.eclipse.core.resources.IResource resource)
resource
- the resource to be checked
status.
isOK()
returns true
then the resource is in syncpublic static org.eclipse.core.runtime.IStatus checkInSync(org.eclipse.core.resources.IResource[] resources)
resources
- the resources to be checked
status.
isOK()
returns true
then the resources are in syncpublic static org.eclipse.core.runtime.IStatus makeCommittable(org.eclipse.core.resources.IResource resource, java.lang.Object context)
validateEdit
for the given resource on IWorkspace.
resource
- the resource to be checkedcontext
- the context passed to validateEdit
status.isOK()
returns true
then the resources are committable.IWorkspace.validateEdit(org.eclipse.core.resources.IFile[], java.lang.Object)
public static org.eclipse.core.runtime.IStatus makeCommittable(org.eclipse.core.resources.IResource[] resources, java.lang.Object context)
validateEdit
for a given file on
IWorkspace.
resources
- the resources to be checkedcontext
- the context passed to validateEdit
status.
isOK()
returns true
then the add resources are
committableIWorkspace.validateEdit(org.eclipse.core.resources.IFile[], java.lang.Object)
public static java.lang.String[] getLocationOSStrings(org.eclipse.core.resources.IResource[] resources)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |