protected void doDelete(IProgressMonitor pm) throws JavaModelException{  ((ISourceManipulation)getModifiedLanguageElement()).delete(false, pm);
protected void doDelete(ChangeContext context, IProgressMonitor pm) throws JavaModelException{ try{  ((ISourceManipulation)getModifiedLanguageElement()).delete(false, pm); } catch (JavaModelException jme) { if (! (getModifiedLanguageElement() instanceof ICompilationUnit)) throw jme; if (! (context.getExceptionHandler() instanceof IReorgExceptionHandler)) throw jme; if (! (jme.getException() instanceof CoreException)) throw jme; ICompilationUnit cu= (ICompilationUnit)getModifiedLanguageElement(); CoreException ce= (CoreException)jme.getException(); IReorgExceptionHandler handler= (IReorgExceptionHandler)context.getExceptionHandler(); IStatus[] children= ce.getStatus().getChildren(); if (children.length == 1 && children[0].getCode() == IResourceStatus.OUT_OF_SYNC_LOCAL){ if (handler.forceDeletingResourceOutOfSynch(cu.getElementName(), ce)){ cu.delete(true, pm); return; }	else return; } else throw jme; }
	protected void doDelete(IProgressMonitor pm) throws JavaModelException{		//cast safe		((ISourceManipulation)getModifiedLanguageElement()).delete(false, pm);		}