Java Code Examples for org.eclipse.core.resources.IResourceDelta#REMOVED_PHANTOM

The following examples show how to use org.eclipse.core.resources.IResourceDelta#REMOVED_PHANTOM . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ResourceUtils.java    From goclipse with Eclipse Public License 1.0 5 votes vote down vote up
protected static String deltaKindToString(IResourceDelta delta) {
	switch (delta.getKind()) {
	case IResourceDelta.ADDED: return "+";
	case IResourceDelta.REMOVED: return "-";
	case IResourceDelta.CHANGED: return "*";
	case IResourceDelta.ADDED_PHANTOM: return "%+%";
	case IResourceDelta.REMOVED_PHANTOM: return "%-%";
	default:
		throw assertFail();
	}
}