/** * Get the component icon cache shared by all tools. */ public ComponentIconCache getIconCache() { assert SwingUtilities.isEventDispatchThread();// || Starter.isShutdown(); if(iconcache==null) { iconcache = new ComponentIconCache(jccaccess); } return iconcache; }
doSearch(ifut, type, todo, 0); lookups.put(type, new Tuple2<IFuture<Icon>, List<IComponentIdentifier>>(ifut, todo)); fut = ifut;
/** * Get the icon for a node. */ public Icon getSwingIcon() { Icon icon = iconcache.getIcon(desc.getType(), this, getModel()); if(busy) { icon = icon!=null ? new CombiIcon(new Icon[]{icon, icons.getIcon("overlay_busy")}) : icons.getIcon("overlay_busy"); } else if(broken) { icon = icon!=null ? new CombiIcon(new Icon[]{icon, icons.getIcon("overlay_check")}) : icons.getIcon("overlay_check"); } return icon; }
/** * Get the component icon cache shared by all tools. */ public ComponentIconCache getIconCache() { assert SwingUtilities.isEventDispatchThread();// || Starter.isShutdown(); if(iconcache==null) { iconcache = new ComponentIconCache(jccaccess); } return iconcache; }
final PlatformSelectorDialog csd = new PlatformSelectorDialog(SGUI.getWindowParent(AcquireCertificatePanel.this), ea, jccaccess, cmshandler, null, new ComponentIconCache(ea));
final PlatformSelectorDialog csd = new PlatformSelectorDialog(SGUI.getWindowParent(AcquireCertificatePanel.this), ea, cmshandler, null, new ComponentIconCache(ea));
final ComponentSelectorDialog csd = new ComponentSelectorDialog(ManagerFrame.this, access, access, cmsuh, null, new ComponentIconCache(access)); JButton dealerbut = new JButton("..."); dealerbut.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e) final PlatformSelectorDialog csd = new PlatformSelectorDialog(SGUI.getWindowParent(VirtualNamesPanel.this), ea, jccaccess, cmshandler, null, new ComponentIconCache(ea));
public void run() new CMSUpdateHandler(agent.getExternalAccess()), null, new ComponentIconCache(agent.getExternalAccess())); final IComponentIdentifier cid = agentselector.selectAgent(null); if(cid!=null)