editorContext.refreshCachedDOM();
}
public String getPolicyName() {
IFile file = (IFile) editorContext.getResource();
MCSProjectNature nature = MCSProjectNature.getMCSProjectNature(getProject());
IPath policySourcePath = nature.getPolicySourcePath();
IFolder policySourceFolder = getProject().getFolder(policySourcePath);
IPath policyRoot = policySourceFolder.getProjectRelativePath();
IPath policyPath = file.getProjectRelativePath();
String policyName = null;
if (policyRoot.isPrefixOf(policyPath)) {