Object object= fMapToCompoundElement.get(key);
LogicalPackage lp= (LogicalPackage)fMapToLogicalPackage.get(key);
	private void addElement(IPackageFragment frag) {		String key= getKey(frag);		Object object= fMapToCompoundElement.get(key);			if(object instanceof LogicalPackage){			LogicalPackage element= (LogicalPackage) object;					if(element.belongs(frag))				element.add(frag);			return;			} else if(object instanceof IPackageFragment){			//must create a new CompoundElement			IPackageFragment iPackageFrament= (IPackageFragment) object;			if(!iPackageFrament.equals(frag)){				LogicalPackage element= new LogicalPackage(iPackageFrament);				element.add(frag);				fMapToCompoundElement.put(key, element);				//@Improve: is this correct?				postRemove(iPackageFrament);				postAdd(element); 				//postRefresh(element.getParentProject());				return;			}		} else {			fMapToCompoundElement.put(key, frag);			postAdd(frag);		}	}