if (fileName.startsWith("_")) { plists.addAll( WorkbenchUtilitiesPlugin .findResourcesInResourcesByNameAndExtensions( projects, fileName.substring(1), extensions) ); }
	public final List getRelatedResources() {		List list = new ArrayList();		List plists = new ArrayList();		if (this.getCorrespondingCompilationUnit() != null) {			try {				IProject[] projects =					WorkbenchUtilitiesPlugin.getWorkspace().getRoot().getProjects();				String fileName =					this					.getCorrespondingCompilationUnit()					.getCorrespondingResource()					.getName();				fileName = fileName.substring(0, 						fileName.length() - IWOLipsModel.EXT_JAVA.length() - 1 );				String[] extensions =					new String[] {						WOLipsModel.EOENTITY_PLIST_EXTENSION };				plists =					WorkbenchUtilitiesPlugin					.findResourcesInResourcesByNameAndExtensions(							projects,							fileName,							extensions);				for(int i = 0; i < plists.size(); i++) {					IResource resource = (IResource)plists.get(i);					if(resource != null) {						IContainer parent = resource.getParent();						if(parent != null && parent.getName().endsWith(WOLipsModel.EOMODEL_EXTENSION)) {							list.add(parent);								}					}				}				//try also for files starting with _				if(fileName.startsWith("_")) {					fileName = fileName.substring(1, 							fileName.length() - 1 );					plists =						WorkbenchUtilitiesPlugin						.findResourcesInResourcesByNameAndExtensions(								projects,								fileName,								extensions);					for(int i = 0; i < plists.size(); i++) {						IResource resource = (IResource)plists.get(i);						if(resource != null) {							IContainer parent = resource.getParent();							if(parent != null && parent.getName().endsWith(WOLipsModel.EOMODEL_EXTENSION)) {								list.add(parent);									}						}					}				}							} catch (Exception e) {				DataSetsPlugin.getDefault().getPluginLogger().log(e);			}		}		return list;	}