if (status.isMissing()) result = Policy.bind("CommitDialog.missing"); else if (status.isReplaced()) result = Policy.bind("CommitDialog.replaced"); else
	public static String getStatus(IResource resource) {	    ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);        String result = null;	       try {	           LocalResourceStatus status = svnResource.getStatus();		       if (status.isTextConflicted())		           result = Policy.bind("CommitDialog.conflicted"); //$NON-NLS-1$		       else	            	            if (status.isAdded())                   result = Policy.bind("CommitDialog.added"); //$NON-NLS-1$               else               if (status.isDeleted())                   result = Policy.bind("CommitDialog.deleted"); //$NON-NLS-1$               else               if (status.isTextModified())                   result = Policy.bind("CommitDialog.modified"); //$NON-NLS-1$				                          else               if (!status.isManaged())                   result = Policy.bind("CommitDialog.unversioned"); //$NON-NLS-1$               else                   result = ""; //$NON-NLS-1$			} catch (TeamException e) {			    result = ""; //$NON-NLS-1$			}                   	    return result;    }