public void customResultAvailable(IComponentIdentifier newcid) { CMSComponentDescription newdesc = (CMSComponentDescription)((CMSComponentDescription)origdesc).clone(); newdesc.setName(newcid); ret.setResult(newdesc); } }));
public void customResultAvailable(IComponentIdentifier newcid) { CMSComponentDescription newdesc = (CMSComponentDescription)((CMSComponentDescription)origdesc).clone(); newdesc.setName(newcid); ret.setResult(newdesc); } }));
public void customResultAvailable(IComponentIdentifier newcid) { CMSComponentDescription newdesc = (CMSComponentDescription)((CMSComponentDescription)origdesc).clone(); newdesc.setName(newcid); ret.setResult(newdesc); } });
/** * Get the component descriptions. * @return The component descriptions. */ public IFuture<IComponentDescription[]> getComponentDescriptions() { Future<IComponentDescription[]> fut = new Future<IComponentDescription[]>(); IComponentDescription[] ret = new IComponentDescription[adapters.size()]; int i=0; for(Iterator<IComponentAdapter> it=adapters.values().iterator(); i<ret.length; i++) { ret[i] = (IComponentDescription)((CMSComponentDescription)((IComponentAdapter)it.next()).getDescription()).clone(); } fut.setResult(ret); return fut; }
/** * Get the component descriptions. * @return The component descriptions. */ public IFuture<IComponentDescription[]> getComponentDescriptions() { Future<IComponentDescription[]> fut = new Future<IComponentDescription[]>(); IComponentDescription[] ret = new IComponentDescription[adapters.size()]; int i=0; for(Iterator<IComponentAdapter> it=adapters.values().iterator(); i<ret.length; i++) { ret[i] = (IComponentDescription)((CMSComponentDescription)((IComponentAdapter)it.next()).getDescription()).clone(); } fut.setResult(ret); return fut; }
/** * Get the component descriptions. * @return The component descriptions. */ public IFuture<IComponentDescription[]> getComponentDescriptions() { Future<IComponentDescription[]> fut = new Future<IComponentDescription[]>(); IComponentDescription[] ret; synchronized(adapters) { ret = new IComponentDescription[adapters.size()]; int i=0; for(Iterator<IComponentAdapter> it=adapters.values().iterator(); i<ret.length; i++) { ret[i] = (IComponentDescription)((CMSComponentDescription)((IComponentAdapter)it.next()).getDescription()).clone(); } } fut.setResult(ret); return fut; }
/** * Get the component descriptions. * @return The component descriptions. */ public IFuture<IComponentDescription[]> getComponentDescriptions() { Future<IComponentDescription[]> fut = new Future<IComponentDescription[]>(); IComponentDescription[] ret = new IComponentDescription[components.size()]; int i=0; for(Iterator<IPlatformComponentAccess> it=components.values().iterator(); i<ret.length; i++) { ret[i] = (IComponentDescription)((CMSComponentDescription)it.next().getInternalAccess().getComponentDescription()).clone(); } fut.setResult(ret); return fut; }
desc = (CMSComponentDescription)((CMSComponentDescription)desc).clone();
desc = (CMSComponentDescription)((CMSComponentDescription)desc).clone();
desc = (CMSComponentDescription)((CMSComponentDescription)desc).clone();
CMSComponentDescription desc = (CMSComponentDescription)ad.clone(); ret.add(desc);
CMSComponentDescription desc = (CMSComponentDescription)ad.clone(); ret.add(desc);
CMSComponentDescription desc = (CMSComponentDescription)ad.clone(); ret.add(desc);
CMSComponentDescription desc = (CMSComponentDescription)ad.clone(); ret.add(desc);
desc = (CMSComponentDescription)((CMSComponentDescription)desc).clone();
desc = (CMSComponentDescription)((CMSComponentDescription)desc).clone();