public void customResultAvailable(IComponentManagementService rcms) { rcms.stepComponent(cid).addResultListener(new DelegationResultListener<Void>(ret)); } });
public void customResultAvailable(IComponentManagementService rcms) { rcms.stepComponent(cid).addResultListener(createResultListener(new DelegationResultListener<Void>(ret))); } }));
public void customResultAvailable(IComponentManagementService rcms) { rcms.stepComponent(cid).addResultListener(createResultListener(new DelegationResultListener<Void>(ret))); } }));
public void customResultAvailable(IComponentManagementService rcms) { rcms.stepComponent(cid, stepinfo).addResultListener(createResultListener(new DelegationResultListener<Void>(ret))); } }));
public void actionPerformed(ActionEvent e) { if(cms!=null) { TreePath[] paths = tree.getSelectionPaths(); for(int i=0; paths!=null && i<paths.length; i++) { final IComponentIdentifier cid = ((IActiveComponentTreeNode)paths[i].getLastPathComponent()).getDescription().getName(); final ISwingTreeNode sel = (ISwingTreeNode)paths[i].getLastPathComponent(); cms.stepComponent(cid).addResultListener(new SwingDefaultResultListener(ComponentTreePanel.this) { public void customResultAvailable(Object result) { // Required for remote nodes. sel.refresh(false); } }); } } } };
public void customResultAvailable(final IComponentManagementService cms) { IFuture<Void> ret = cms.stepComponent(access.getComponentIdentifier(), getStepInfo()); ret.addResultListener(new SwingResultListener<Void>(new IResultListener<Void>() { public void resultAvailable(Void result) { updateViews(); } public void exceptionOccurred(Exception exception) { exception.printStackTrace(); } })); } });