| | |
| | | import com.vci.corba.omd.ltm.LinkType; |
| | | import com.vci.corba.omd.qtm.QTInfo; |
| | | import com.vci.mw.ClientContextVariable; |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.client.omd.linktype.LinkTypeStart; |
| | | import com.vci.client.oq.QTClient; |
| | | import com.vci.client.oq.QTDClient; |
| | |
| | | List<LinkType> es = new ArrayList<LinkType>(); |
| | | linkTypes = LinkTypeStart.getService().getLinkTypes(); |
| | | for (LinkType lt : linkTypes) { |
| | | QTInfo[] qtWrappers = QTDClient.getService().getObjTypeQTs(lt.name); |
| | | QTInfo[] qtWrappers = ServiceProvider.getOMDService().getQTDService().getObjTypeQTs(lt.name); |
| | | if (qtWrappers.length!=0) { |
| | | es.add(lt); |
| | | } |
| | | } |
| | | linkTypes = es.toArray(new LinkType[es.size()]); |
| | | //TODO:需修正没有关联查询模板业务类型去掉 |
| | | qts = QTDClient.getService().getAllQTs();//获取所有查询模板 |
| | | qts = ServiceProvider.getOMDService().getQTDService().getAllQTs();//获取所有查询模板 |
| | | } |
| | | DefaultTreeModel dtml = (DefaultTreeModel) this.getModel(); |
| | | DefaultMutableTreeNode node = (DefaultMutableTreeNode) pathForRow |