样品确认单(部分)、物料图纸分类属性编辑、修订并发送分类

main
zouxk 6 years ago
parent 7c352a652a
commit 8366585df9

@ -3,21 +3,510 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/commons-codec-1.13.jar"/>
<classpathentry kind="lib" path="lib/commons-collections4-4.4.jar"/>
<classpathentry kind="lib" path="lib/commons-compress-1.19.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
<classpathentry kind="lib" path="lib/poi-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-examples-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-excelant-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-ooxml-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-ooxml-schemas-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-scratchpad-4.1.1.jar"/>
<classpathentry kind="lib" path="lib/xmlbeans-3.1.0.jar"/>
<classpathentry kind="lib" path="lib/jfxrt.jar"/>
<classpathentry kind="lib" path="lib/jaxb-api-2.3.1.jar"/>
<classpathentry kind="lib" path="lib/jaxb-core-2.3.0.1.jar"/>
<classpathentry kind="lib" path="lib/jaxb-impl-2.3.2.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/applauncher.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/ca.odell.glazedlists.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/CAE0SoaSimProcRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Cfg0SoaConfiguratorLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/cn.com.origin.autocode_1.0.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/cn.com.origin.autocodemanager_1.0.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.google.gson.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.ibm.icu_63.1.0.v20181030-1705.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.jcraft.jsch_0.1.54.v20170116-1932.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.siemens.splm.browserinterop.infrastructure.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.siemens.splm.browserinterop.solutions.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.sun.el_2.2.0.v201303151357.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.bce.core_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.bce.dialog_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.bce.editor_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.bce.model_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.accessmanager_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.activex.win32.win32.x86_64_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.activex_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.activity_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.adalicense_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.aif.registryeditor_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.aifrcp_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.appearanceconfiguration_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.applications.integration_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.aps0apscore.kernel_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.architecturemodeler_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.auditmanager_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.authorization_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.awchostinterop_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.barchart_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.basedon_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.bczownershipxferview_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.bom_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.briefcasebrowser_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cae.ase_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.caese_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.charts_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.classification.icadmin_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.classification.icm_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cm_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.accountabilitycheck.bom_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.accountabilitycheck.properties_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.accountabilitycheck.relations_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.accountabilitycheck_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.activity_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.assemblyincontext_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.biw.module_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.bvr.connect_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.ccadmin_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.changetracker_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.closureruleeditor_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.collaborationcontext_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.common_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.designpartalignment_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.ebop.module_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.exeposition_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.framework_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.fse_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.futurerevisions_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.graphics_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.idc_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.ipa_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.kernel_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.lb_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.legacy_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.license_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mbm_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mbomassessmentrepair_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mbomrecipe_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mcnmanagement_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mpp_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.mrm_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.pad_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.pmp_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.processsimulate_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.resource_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.reusesubassembly_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.sequence_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.study_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.stylesheet_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.tcpublishwrapper_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.time_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.twod_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.twp_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.cme.variants_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.commands.report.reportdesigner_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.commandsuppression_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.common_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.commonclient_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.contextmenusuppression_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.crf_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.databaseutilities_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.datadic_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.debug_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.designcontext_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.diagramming.communication_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.diagramming.dtoolext_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.diagrammingtools_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.dpv_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ecmanagement_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.editcontext_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.effectivity_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.emailpolling_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ets_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.express_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.gantt_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.gdis_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.grb_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.gsClient_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.gsLogin_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.idc_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.issuemanager_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.kernel_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.massupdate_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ms.ui_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ms.util_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.multistructures_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ocspresence_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.officeapplauncher_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.operationaldata.docmgt_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.operationaldata.edaserver_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.operationaldata.options_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.operationaldata_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.organization_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.pca.kernel_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.pca_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.plmxmlexportimportadministration_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.por_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.presentation_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.processhistory_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.project_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.pse.pca_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.pse_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.qualifications_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.querybuilder_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.requirementsmanager.win.embeddedword_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.requirementsmanager_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.rmoffice_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.schedule_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.se.core_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.search_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.setupwizard_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.siemens.theme_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.smartnavigator_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.smb_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.softwareanalytics_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.structure.search_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.subscriptionmanager_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.subscriptionmonitor_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcapps_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcgrb_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcgsactions_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.accountabilitycheck_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.analysis_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.common_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.composite_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.dashboard_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.derivativerules_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.desktopsupport_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.inspector_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.model_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.packages_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.product_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim.toolmanagement_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tcsim_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tctdv_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tdv_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.toolbar.customization_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.tracelinks.ui_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui.advanced_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui.commands_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui.gridframework.extension.nebula_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui.gridframework_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui.views_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.ui_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.util_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.validation_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.viewer.win32_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.viewer_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.vis.api_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.vis.mv_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.vis_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.vm_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.vns_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.widgets_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.workflow.processdesigner_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.workflow.processviewer_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/com.teamcenter.rac.workflow_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Ex2SoaExpressAddonsRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaAuditManagerRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaConfigFilterCriteriaLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaConfigFilterCriteriaRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaDebugMonitorLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaDebugMonitorRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaDiagrammingRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaEditContextLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaNotificationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaQualificationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Fnd0SoaWProxyRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/icctstubs.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/iPEM_plugin_10000.12.100.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.annotation_1.2.0.v201602091430.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.el_2.2.0.v201303151357.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.inject_1.0.0.v20091030.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.servlet.jsp_2.2.0.v201112011158.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.servlet_3.1.0.v201410161800.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.wsdl_1.6.2.v201012040545.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/javax.xml_1.3.4.v201005080400.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Lis0SoaLdfRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.batik.constants_1.10.0.v20180703-1553.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.batik.css_1.10.0.v20180703-1553.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.batik.i18n_1.10.0.v20180703-1553.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.batik.util_1.10.0.v20180703-1553.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.codec_1.10.0.v20180409-1845.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.io_1.4.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.io_2.2.0.v201405211200.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.jxpath_1.3.0.v200911051830.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.lang_2.3.0.v200803061910.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.commons.logging_1.2.0.v20180409-1502.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.felix.gogo.command_1.0.2.v20170914-1324.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.felix.gogo.runtime_1.1.0.v20180713-1646.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.felix.gogo.shell_1.1.0.v20180713-1646.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.felix.scr_2.0.14.v20180822-1822.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.jasper.glassfish_2.2.2.v201501141630.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.log4j_1.2.15.v201012070815.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.lucene.analyzers-common_7.5.0.v20181003-1532.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.lucene.analyzers-smartcn_7.5.0.v20181003-1532.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.lucene.core_7.5.0.v20181003-1532.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.xalan_2.7.1.v201005080400.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.xerces_2.9.0.v201101211617.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.xml.resolver_1.2.0.v201005080400.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.xml.serializer_2.7.1.v201005080400.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.apache.xmlgraphics_2.2.0.v20180809-1640.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.aspectj.runtime_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ant.core_3.5.200.v20180822-0553.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.compare.core_3.6.300.v20180827-1041.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.compare.win32_1.2.300.v20180926-0905.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.compare_3.7.400.v20181109-1335.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.commands.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.commands_3.9.200.v20180827-1727.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.contenttype.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.contenttype_3.7.200.v20181107-1343.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.beans.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.beans_1.4.300.v20181030-1443.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.observable.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.observable_1.6.300.v20180827-2028.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.property.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding.property_1.6.300.v20180827-2028.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.databinding_1.7.100.v20181030-1443.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.expressions.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.expressions_3.6.200.v20180817-1401.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.externaltools_1.1.200.v20180821-1744.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.filebuffers_3.6.400.v20181028-0633.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.filesystem.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.filesystem.win32.x86_64.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.filesystem.win32.x86_64_1.4.100.v20180828-0158.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.filesystem_1.7.200.v20180828-0158.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.jobs.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.jobs_3.10.200.v20180912-1356.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.net.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.net.win32.x86_64.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.net.win32.x86_64_1.1.300.v20181126-0635.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.net_1.3.400.v20181030-1645.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.resources.win32.x86_64.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.resources.win32.x86_64_3.5.300.v20181030-1942.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.resources_3.13.200.v20181121-1020.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.runtime.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.runtime_3.15.100.v20181107-1343.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.variables.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.core.variables_3.4.300.v20181028-0627.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.debug.core_3.13.100.v20181201-1650.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.draw2d.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.draw2d_3.10.100.201606061308.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.commands_0.12.400.v20181119-1026.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.contexts.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.contexts_1.7.100.v20180817-1215.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.annotations.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.annotations_1.6.200.v20180817-1215.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.extensions.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.extensions.supplier.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.extensions.supplier_0.15.200.v20180817-1215.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.extensions_0.15.200.v20180817-1215.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.di_1.7.100.v20180817-1215.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.services.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.core.services_2.1.300.v20180930-0910.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.emf.xpath.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.emf.xpath_0.2.200.v20180828-0227.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.bindings_0.12.300.v20180913-1535.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.core.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.core_0.12.400.v20180917-1628.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.swt.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.swt.theme.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.swt.theme_0.12.100.v20180828-0227.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.css.swt_0.13.300.v20181030-1443.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.di.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.di_1.2.400.v20180920-1522.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.dialogs.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.dialogs_1.1.300.v20180828-0227.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.model.workbench.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.model.workbench_2.1.200.v20180920-1522.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.services.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.services_1.3.300.v20180920-1522.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.widgets.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.widgets_1.2.300.v20180920-1522.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench.addons.swt_1.3.300.v20181102-1042.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench.renderers.swt_0.14.400.v20181112-1716.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench.swt_0.14.400.v20181022-1348.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench_1.8.0.v20181119-1304.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench3.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.e4.ui.workbench3_0.14.200.v20180828-0227.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.common.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.common_2.15.0.v20180914-1817.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore.change.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore.change_2.13.0.v20180706-1146.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore.xmi.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore.xmi_2.15.0.v20180706-1146.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.emf.ecore_2.16.0.v20181124-0637.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.app_1.4.0.v20181009-1752.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.bidi_1.1.200.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.common_3.10.200.v20181021-1645.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.concurrent_1.1.200.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.console_1.3.200.v20181115-0906.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.event_1.5.0.v20181008-1938.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.frameworkadmin.equinox.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.frameworkadmin.equinox_1.1.100.v20180822-1258.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.frameworkadmin.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.frameworkadmin_2.1.100.v20180822-1258.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.http.jetty_3.6.200.v20181115-1346.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.http.registry_1.1.600.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.http.servlet_1.5.200.v20181008-1912.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.jsp.jasper.registry_1.1.100.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.jsp.jasper_1.1.100.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.launcher.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.artifact.repository_1.2.200.v20181119-1308.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.core_2.5.100.v20180822-1532.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.engine_2.6.100.v20180822-1302.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.garbagecollector_1.1.100.v20180822-1302.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.jarprocessor_1.1.200.v20180921-1009.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.metadata.repository_1.3.100.v20180822-1302.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.metadata_2.4.200.v20181102-0649.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.publisher_1.5.100.v20180822-1302.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.repository_2.4.200.v20181005-1131.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.p2.touchpoint.natives_1.3.200.v20180921-1019.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.preferences_3.7.200.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.registry_3.8.200.v20181008-1820.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.security.ui_1.2.200.v20181108-1420.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.security.win32.x86_64_1.1.100.v20180827-1235.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.security_1.3.0.v20181115-0746.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.simpleconfigurator.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.simpleconfigurator_1.3.200.v20181101-1115.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.equinox.util_1.1.200.v20181008-1820.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.gef.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.gef_3.11.0.201606061308.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.help.base_4.2.400.v20181206-0815.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.help.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.help.ui_4.1.300.v20181018-1136.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.help_3.8.200.v20180821-0700.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.continuation_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.http_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.io_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.security_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.server_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.servlet_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jetty.util_9.4.14.v20181113.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface.databinding.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface.databinding_1.8.400.v20181030-1443.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface.text.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface.text_3.15.0.v20181119-1708.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jface_3.15.0.v20181123-1505.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jsch.core.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jsch.core_1.3.300.v20181030-1237.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jsch.ui.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.jsch.ui_1.3.300.v20181122-1141.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ltk.core.refactoring_3.9.200.v20181024-1629.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.cwt_1.1.0.201804281520.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.cdatetime_1.3.0.201804281520.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.gallery_1.0.0.201804281520.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.grid_1.1.0.201804281520.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.nattable.core_1.1.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.nattable.extension.glazedlists_1.1.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.nattable.extension.poi_1.1.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.nattable.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.nebula.widgets.tablecombo_1.2.0.201804281520.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.compatibility.state.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.compatibility.state_1.1.300.v20181116-1550.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.services.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.services_3.7.100.v20180827-1536.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.util.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi.util_3.5.100.v20180827-1536.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.osgi_3.13.200.v20181130-2106.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.rcp_4.10.0.v20181206-0815.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.swt.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.swt.win32.win32.x86_64_3.109.0.v20181204-1801.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.swt_3.109.0.v20181204-1801.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.team.genericeditor.diff.extension_1.0.200.v20180827-1041.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.text.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.text_3.8.0.v20180923-1636.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.console.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.console_3.8.300.v20181019-1609.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.editors_3.11.300.v20180914-0606.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.forms.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.forms_3.7.400.v20181123-1505.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.genericeditor_1.1.200.v20180921-0739.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.ide_3.14.200.v20181205-2143.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.intro.quicklinks_1.0.300.v20180821-0700.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.intro.universal_3.3.0.v20160519-1604.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.intro_3.5.400.v20181107-2118.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.monitoring_1.1.300.v20180828-1350.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.navigator.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.navigator_3.7.300.v20181016-1531.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.net.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.net_1.3.300.v20180827-1041.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.views.log_1.2.400.v20181102-1400.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.views.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.views.properties.tabbed.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.views.properties.tabbed_3.8.300.v20180921-1036.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.views_3.9.200.v20180828-0837.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.win32.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.win32_3.4.100.v20180828-0838.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.workbench.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.workbench.texteditor.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.workbench.texteditor_3.11.200.v20181108-1458.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui.workbench_3.112.100.v20181127-1518.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.ui_3.111.0.v20181117-0847.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.update.configurator.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.update.configurator_3.4.100.v20180821-1913.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.urischeme.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.eclipse.urischeme_1.0.100.v20181204-1430.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.hamcrest.core_1.3.0.v201303031735.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.sat4j.core_2.3.5.v201308161310.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.sat4j.pb_2.3.5.v201404071733.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.swtchart_0.10.0.v20160212.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.tukaani.xz_1.8.0.v20180207-1613.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.w3c.css.sac_1.3.1.v200903091627.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.w3c.dom.smil_1.0.1.v200903091627.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/org.w3c.dom.svg_1.1.0.v201011041433.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/PDFJS.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/SingleEmbeddedViewer.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/Smc0SoaStructureManagementLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/tcgatewaystubs.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcGlobalMultiSiteRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/tcmemjavabinding.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/tcserverjavabinding.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaAdministrationLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaAdministrationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaAiRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaAllocationsRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaAuthorizedDataAccessRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaBomLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaBomRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaBusinessModelerLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaBusinessModelerRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCadBomAlignmentLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCadRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCaeRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCalendarManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaChangeManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaClassificationLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaClassificationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaClassificationTypes_12000.0.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaClient_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCommon_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaConfigurationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCoreLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCoreRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaCoreTypes_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaDocumentManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaDocumentManagementTypes_12000.0.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaGdisRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaGlobalMultiSiteLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaGlobalMultiSiteRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaImportExportRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaIssueManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaManufacturingRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaMESRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaMultisiteRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaProductionManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaProjectManagementLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaProjectManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaProjectManagementTypes_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaQueryLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaQueryRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaRdvRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaReportsRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaRequirementsManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaStructureManagementLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaStructureManagementRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaStructureManagementTypes_12000.0.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaTranslationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaValidationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaVisualizationRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaWorkflowLoose_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/TcSoaWorkflowRac_12000.2.0.jar"/>
<classpathentry kind="lib" path="C:/work/plugins12_2_2/xmldto.jar"/>
<classpathentry kind="lib" path="lib/fastjson-1.2.9.jar"/>
<classpathentry kind="lib" path="lib/hutool-all-5.0.7.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding//src/com/connor/jd/plm/handlers/Wf001ScheduleHandler.java=UTF-8

@ -3,39 +3,33 @@ Bundle-ManifestVersion: 2
Bundle-Name: JDProject
Bundle-SymbolicName: com.connor.jd.plm;singleton:=true
Bundle-Version: 1.0.0.qualifier
Require-Bundle: org.eclipse.ui,
com.teamcenter.rac.common;bundle-version="12000.1.0",
com.teamcenter.rac.tcapps;bundle-version="12000.1.0",
com.teamcenter.rac.util;bundle-version="12000.1.0",
com.teamcenter.rac.aifrcp;bundle-version="12000.1.0",
com.teamcenter.rac.ui.commands;bundle-version="12000.1.0",
com.teamcenter.rac.kernel;bundle-version="12000.1.0",
com.teamcenter.rac.ui.views;bundle-version="12000.1.0",
org.eclipse.core.runtime;bundle-version="3.12.0",
org.eclipse.ui.forms;bundle-version="3.7.0"
Require-Bundle: org.eclipse.ui;bundle-version="3.111.0",
com.teamcenter.rac.common;bundle-version="12000.2.0",
com.teamcenter.rac.tcapps;bundle-version="12000.2.0",
com.teamcenter.rac.util;bundle-version="12000.2.0",
com.teamcenter.rac.aifrcp;bundle-version="12000.2.0",
com.teamcenter.rac.ui.commands;bundle-version="12000.2.0",
com.teamcenter.rac.kernel;bundle-version="12000.2.0",
com.teamcenter.rac.ui.views;bundle-version="12000.2.0",
org.eclipse.core.runtime;bundle-version="3.15.100",
org.eclipse.ui.forms;bundle-version="3.7.400",
com.teamcenter.rac.schedule;bundle-version="12000.2.0"
Automatic-Module-Name: JDProject
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: com.connor.jd.operations,
com.connor.jd.plm.dialogs,
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: com.connor.jd.plm.action,
com.connor.jd.plm.dialog,
com.connor.jd.plm.form,
com.connor.jd.plm.handlers,
com.connor.jd.plm.table,
com.connor.jd.plm.utils,
com.connor.jd.plm.util,
com.teamcenter.rac.form
Bundle-ClassPath: lib/commons-codec-1.13.jar,
lib/commons-collections4-4.4.jar,
lib/commons-compress-1.19.jar,
lib/commons-logging-1.2.jar,
lib/commons-math3-3.6.1.jar,
lib/poi-4.1.1.jar,
lib/poi-examples-4.1.1.jar,
lib/poi-excelant-4.1.1.jar,
lib/poi-ooxml-4.1.1.jar,
lib/poi-ooxml-schemas-4.1.1.jar,
lib/poi-scratchpad-4.1.1.jar,
lib/xmlbeans-3.1.0.jar,
.,
lib/jfxrt.jar,
lib/jaxb-api-2.3.1.jar,
lib/jaxb-core-2.3.0.1.jar,
lib/jaxb-impl-2.3.2.jar
Import-Package: com.teamcenter.services,
com.teamcenter.services.rac,
com.teamcenter.services.rac.core,
com.teamcenter.services.rac.core._2008_06,
org.apache.commons.httpclient,
org.apache.commons.httpclient.methods,
org.apache.commons.httpclient.params
Bundle-ClassPath: .,
lib/fastjson-1.2.9.jar,
lib/hutool-all-5.0.7.jar

@ -4,19 +4,5 @@ bin.includes = plugin.xml,\
META-INF/,\
.,\
icons/,\
lib/commons-codec-1.13.jar,\
lib/commons-collections4-4.4.jar,\
lib/commons-compress-1.19.jar,\
lib/commons-logging-1.2.jar,\
lib/commons-math3-3.6.1.jar,\
lib/poi-4.1.1.jar,\
lib/poi-examples-4.1.1.jar,\
lib/poi-excelant-4.1.1.jar,\
lib/poi-ooxml-4.1.1.jar,\
lib/poi-ooxml-schemas-4.1.1.jar,\
lib/poi-scratchpad-4.1.1.jar,\
lib/xmlbeans-3.1.0.jar,\
lib/jfxrt.jar,\
lib/jaxb-api-2.3.1.jar,\
lib/jaxb-core-2.3.0.1.jar,\
lib/jaxb-impl-2.3.2.jar
lib/fastjson-1.2.9.jar,\
lib/hutool-all-5.0.7.jar

@ -14,6 +14,7 @@
<command categoryId="JDProject.commands.category" name="产品立项申请表" id="JD2_GTCPLXSQB"></command>
<command categoryId="JDProject.commands.category" name="潜在竞争对手和合作伙伴清单" id="JD2_GTQZHZHBQD"></command>
<command categoryId="JDProject.commands.category" name="知识产权检索申请单" id="JD2_GTZSCQJSSQD"></command>
<command categoryId="JDProject.commands.category" name="设计评审报告" id="JD2_GTSJPSBG"></command>
<command categoryId="JDProject.commands.category" name="产品规格书" id="JD2_GTCPGGS"></command>
<command categoryId="JDProject.commands.category" name="立项评审单" id="JD2_GTLXPSD"></command>
<command categoryId="JDProject.commands.category" name="手版样机评审单" id="JD2_GTSBYJPSD"></command>
@ -53,12 +54,12 @@
<command categoryId="JDProject.commands.category" name="时间表" id="Schedule"></command>
<command categoryId="JDProject.commands.category" name="问题点" id="JD2_PROBLEM"></command>
<command categoryId="JDProject.commands.category" name="变更通知单" id="JD2_GTECN"></command>
<command categoryId="JDProject.commands.category" name="齐套性检查" id="JD2_GTQTXJC"></command>
<!--波轮PLM菜单-->
<command categoryId="JDProject.commands.category" name="年度规划大纲" id="JD2_BLNDGHDG"></command>
<command categoryId="JDProject.commands.category" name="产品立项申请表" id="JD2_BLCPLXSQB"></command>
<command categoryId="JDProject.commands.category" name="潜在竞争对手和合作伙伴清单" id="JD2_BLQZHZHBQD"></command>
<command categoryId="JDProject.commands.category" name="知识产权检索申请单" id="JD2_BLZSCQJSSQD"></command>
<command categoryId="JDProject.commands.category" name="设计评审报告" id="JD2_BLSJPSBG"></command>
<command categoryId="JDProject.commands.category" name="产品规格书" id="JD2_BLCPGGS"></command>
<command categoryId="JDProject.commands.category" name="立项评审单" id="JD2_BLLXPSD"></command>
<command categoryId="JDProject.commands.category" name="手版样机评审单" id="JD2_BLSBYJPSD"></command>
@ -96,12 +97,14 @@
<command categoryId="JDProject.commands.category" name="时间表" id="Schedule"></command>
<command categoryId="JDProject.commands.category" name="问题点" id="JD2_PROBLEM"></command>
<command categoryId="JDProject.commands.category" name="变更通知单" id="JD2_BLECN"></command>
<command categoryId="JDProject.commands.category" name="齐套性检查" id="JD2_BLQTXJC"></command>
<!--冰箱PLM菜单-->
<command categoryId="JDProject.commands.category" name="年度规划大纲" id="JD2_BXNDGHDG"></command>
<command categoryId="JDProject.commands.category" name="产品立项申请表" id="JD2_BXCPLXSQB"></command>
<command categoryId="JDProject.commands.category" name="潜在竞争对手和合作伙伴清单" id="JD2_BXQZHZHBQD"></command>
<command categoryId="JDProject.commands.category" name="知识产权检索申请单" id="JD2_BXZSCQJSSQD"></command>
<command categoryId="JDProject.commands.category" name="设计计划书" id="JD2_BXSJJHS"></command>
<command categoryId="JDProject.commands.category" name="设计任务书" id="JD2_BXSJRWS"></command>
<command categoryId="JDProject.commands.category" name="设计评审报告" id="JD2_BXSJPSBG"></command>
<command categoryId="JDProject.commands.category" name="产品规格书" id="JD2_BXCPGGS"></command>
<command categoryId="JDProject.commands.category" name="立项评审单" id="JD2_BXLXPSD"></command>
<command categoryId="JDProject.commands.category" name="手版样机评审单" id="JD2_BXSBYJPSD"></command>
@ -141,9 +144,9 @@
<command categoryId="JDProject.commands.category" name="时间表" id="Schedule"></command>
<command categoryId="JDProject.commands.category" name="问题点" id="JD2_PROBLEM"></command>
<command categoryId="JDProject.commands.category" name="变更通知单" id="JD2_BXECN"></command>
<command categoryId="JDProject.commands.category" name="齐套性检查" id="JD2_BXQTXJC"></command>
<!--测试项维护-->
<command categoryId="JDProject.commands.category" name="测试项维护" id="JD2_CSXWH"></command>
<command categoryId="JDProject.commands.category" name="修改分类属性" id="editClassification"></command>
<command categoryId="JDProject.commands.category" name="物料图纸修订" id="WLTZRevise"></command>
</extension>
<extension
point="org.eclipse.ui.handlers">
@ -191,8 +194,7 @@
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="PVRD"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_GTXCJYWPXZL"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_GTSHZL"></handler>
<handler class="com.connor.jd.plm.handlers.QTXJCHandler" commandId="JD2_GTQTXJC"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.Wf001ScheduleHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_PROBLEM"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_GTECN"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLNDGHDG"></handler>
@ -233,8 +235,7 @@
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLXMZJBG"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLXCJYWPXZL"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLSHZL"></handler>
<handler class="com.connor.jd.plm.handlers.QTXJCHandler" commandId="JD2_BLQTXJC"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.Wf001ScheduleHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_PROBLEM"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLECN"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXNDGHDG"></handler>
@ -277,11 +278,18 @@
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXXCJYWPXZL"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXSHZL"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXCPSHB"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.Wf001ScheduleHandler" commandId="Schedule"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_PROBLEM"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXECN"></handler>
<handler class="com.connor.jd.plm.handlers.QTXJCHandler" commandId="JD2_BXQTXJC"></handler>
<handler class="com.connor.jd.plm.handlers.CSXWHHandler" commandId="JD2_CSXWH"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXSJPSBG"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BLSJPSBG"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_GTSJPSBG"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXSJJHS"></handler>
<handler class="com.connor.jd.plm.handlers.CreateItemHandler" commandId="JD2_BXSJRWS"></handler>
<handler commandId="editClassification" class="com.connor.jd.plm.handlers.EditClassificationHandler"></handler>
<handler commandId="WLTZRevise" class="com.connor.jd.plm.handlers.WLTZReviseHandler"></handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
@ -305,6 +313,7 @@
<command commandId="JD2_GTZSCQJSSQD" id="JDProject.menus.JD2_GTZSCQJSSQD" mnemonic="S"></command>
<command commandId="JD2_GTCPGGS" id="JDProject.menus.JD2_GTCPGGS" mnemonic="S"></command>
<command commandId="JD2_GTLXPSD" id="JDProject.menus.JD2_GTLXPSD" mnemonic="S"></command>
<command commandId="JD2_GTSJPSBG" id="JDProject.menus.JD2_GTSJPSBG" mnemonic="S"></command>
</menu>
<menu id="JDProject.menus.JD2_GTSBYJ" label="手版样机" mnemonic="M">
<command commandId="JD2_GTSBYJPSD" id="JDProject.menus.JD2_GTSBYJPSD" mnemonic="S"></command>
@ -354,7 +363,6 @@
<command commandId="Schedule" id="JDProject.menus.Schedule" mnemonic="S"></command>
<command commandId="JD2_PROBLEM" id="JDProject.menus.JD2_PROBLEM" mnemonic="S"></command>
<command commandId="JD2_GTECN" id="JDProject.menus.JD2_GTECN" mnemonic="S"></command>
<command commandId="JD2_GTQTXJC" id="JDProject.menus.JD2_GTQTXJC" mnemonic="S"></command>
</menu>
</menuContribution>
<menuContribution
@ -366,6 +374,7 @@
<command commandId="JD2_BLCPLXSQB" id="JDProject.menus.JD2_BLCPLXSQB" mnemonic="S"></command>
<command commandId="JD2_BLQZHZHBQD" id="JDProject.menus.JD2_BLQZHZHBQD" mnemonic="S"></command>
<command commandId="JD2_BLZSCQJSSQD" id="JDProject.menus.JD2_BLZSCQJSSQD" mnemonic="S"></command>
<command commandId="JD2_BLSJPSBG" id="JDProject.menus.JD2_BLSJPSBG" mnemonic="S"></command>
<command commandId="JD2_BLCPGGS" id="JDProject.menus.JD2_BLCPGGS" mnemonic="S"></command>
<command commandId="JD2_BLLXPSD" id="JDProject.menus.JD2_BLLXPSD" mnemonic="S"></command>
</menu>
@ -415,7 +424,6 @@
<command commandId="Schedule" id="JDProject.menus.Schedule" mnemonic="S"></command>
<command commandId="JD2_PROBLEM" id="JDProject.menus.JD2_PROBLEM" mnemonic="S"></command>
<command commandId="JD2_BLECN" id="JDProject.menus.JD2_BLECN" mnemonic="S"></command>
<command commandId="JD2_BLQTXJC" id="JDProject.menus.JD2_BLQTXJC" mnemonic="S"></command>
</menu>
</menuContribution>
<menuContribution
@ -427,6 +435,9 @@
<command commandId="JD2_BXCPLXSQB" id="JDProject.menus.JD2_BXCPLXSQB" mnemonic="S"></command>
<command commandId="JD2_BXQZHZHBQD" id="JDProject.menus.JD2_BXQZHZHBQD" mnemonic="S"></command>
<command commandId="JD2_BXZSCQJSSQD" id="JDProject.menus.JD2_BXZSCQJSSQD" mnemonic="S"></command>
<command commandId="JD2_BXSJJHS" id="JDProject.menus.JD2_BXSJJHS" mnemonic="S"></command>
<command commandId="JD2_BXSJRWS" id="JDProject.menus.JD2_BXSJRWS" mnemonic="S"></command>
<command commandId="JD2_BXSJPSBG" id="JDProject.menus.JD2_BXSJPSBG" mnemonic="S"></command>
<command commandId="JD2_BXCPGGS" id="JDProject.menus.JD2_BXCPGGS" mnemonic="S"></command>
<command commandId="JD2_BXLXPSD" id="JDProject.menus.JD2_BXLXPSD" mnemonic="S"></command>
</menu>
@ -478,26 +489,24 @@
<command commandId="Schedule" id="JDProject.menus.Schedule" mnemonic="S"></command>
<command commandId="JD2_PROBLEM" id="JDProject.menus.JD2_PROBLEM" mnemonic="S"></command>
<command commandId="JD2_BXECN" id="JDProject.menus.JD2_BXECN" mnemonic="S"></command>
<command commandId="JD2_BXQTXJC" id="JDProject.menus.JD2_BXQTXJC" mnemonic="S"></command>
</menu>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu id="JDProject.menus.JD2_CSXWHMENU" label="测试项维护" mnemonic="M">
<command commandId="JD2_CSXWH" id="JDProject.menus.JD2_CSXWH" mnemonic="S"></command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="JDProject.toolbars.sampleToolbar">
<command
id="JDProject.toolbars.sampleCommand"
commandId="Item"
icon="icons/sample.png"
tooltip="Say hello world">
</command>
</toolbar>
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command
commandId="editClassification"
mnemonic="S"
label="修改分类属性"
id="com.connor.jd.editClassification">
<visibleWhen>true</visibleWhen>
</command>
<command
commandId="WLTZRevise"
mnemonic="S"
label="物料图纸修订"
id="com.connor.jd.WLTZRevise">
<visibleWhen>true</visibleWhen>
</command>
</menuContribution>
</extension>

@ -1,203 +0,0 @@
package com.connor.jd.operations;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
public class ExcelImportServiceImpl {
public String importExcel(InputStream inputStream, String fileName) throws Exception {
String message = "Import success";
boolean isE2007 = false;
// 判断是否是excel2007格式
if (fileName.endsWith("xlsx")) {
isE2007 = true;
}
int rowIndex = 0;
try {
InputStream input = inputStream; // 建立输入流
Workbook wb;
// 根据文件格式(2003或者2007)来初始化
if (isE2007) {
wb = new XSSFWorkbook(input);
} else {
wb = new HSSFWorkbook(input);
}
Sheet sheet = wb.getSheetAt(0); // 获得第一个表单
int rowCount = sheet.getLastRowNum() + 1;
for (int i = 1; i < rowCount; i++) {
rowIndex = i;
Row row;
for (int j = 0; j < 26; j++) {
if (isMergedRegion(sheet, i, j)) {
System.out.print(getMergedRegionValue(sheet, i, j) + "\t");
} else {
row = sheet.getRow(i);
System.out.print(row.getCell(j) + "\t");
}
}
System.out.print("\n");
}
} catch (Exception ex) {
message = "Import failed, please check the data in " + rowIndex + " rows ";
}
return message;
}
/**
*
*
* @param cell
* @return
*/
public String getCellValue(Cell cell) {
if (cell == null)
return "";
return cell.getStringCellValue();
}
/**
* ,
*
* @param sheet
* @return List<CellRangeAddress>
*/
public List<CellRangeAddress> getCombineCell(Sheet sheet) {
List<CellRangeAddress> list = new ArrayList<>();
// 获得一个 sheet 中合并单元格的数量
int sheetmergerCount = sheet.getNumMergedRegions();
// 遍历所有的合并单元格
for (int i = 0; i < sheetmergerCount; i++) {
// 获得合并单元格保存进list中
CellRangeAddress ca = sheet.getMergedRegion(i);
list.add(ca);
}
return list;
}
private int getRowNum(List<CellRangeAddress> listCombineCell, Cell cell, Sheet sheet) {
int xr = 0;
int firstC = 0;
int lastC = 0;
int firstR = 0;
int lastR = 0;
for (CellRangeAddress ca : listCombineCell) {
// 获得合并单元格的起始行, 结束行, 起始列, 结束列
firstC = ca.getFirstColumn();
lastC = ca.getLastColumn();
firstR = ca.getFirstRow();
lastR = ca.getLastRow();
if (cell.getRowIndex() >= firstR && cell.getRowIndex() <= lastR) {
if (cell.getColumnIndex() >= firstC && cell.getColumnIndex() <= lastC) {
xr = lastR;
}
}
}
return xr;
}
/**
*
*
* @param listCombineCell list
* @param cell
* @param sheet sheet
* @return
*/
public String isCombineCell(List<CellRangeAddress> listCombineCell, Cell cell, Sheet sheet) throws Exception {
int firstC = 0;
int lastC = 0;
int firstR = 0;
int lastR = 0;
String cellValue = null;
for (CellRangeAddress ca : listCombineCell) {
// 获得合并单元格的起始行, 结束行, 起始列, 结束列
firstC = ca.getFirstColumn();
lastC = ca.getLastColumn();
firstR = ca.getFirstRow();
lastR = ca.getLastRow();
if (cell.getRowIndex() >= firstR && cell.getRowIndex() <= lastR) {
if (cell.getColumnIndex() >= firstC && cell.getColumnIndex() <= lastC) {
Row fRow = sheet.getRow(firstR);
Cell fCell = fRow.getCell(firstC);
cellValue = getCellValue(fCell);
break;
}
} else {
cellValue = "";
}
}
return cellValue;
}
/**
*
*
* @param sheet
* @param row
* @param column
* @return
*/
public String getMergedRegionValue(Sheet sheet, int row, int column) {
int sheetMergeCount = sheet.getNumMergedRegions();
for (int i = 0; i < sheetMergeCount; i++) {
CellRangeAddress ca = sheet.getMergedRegion(i);
int firstColumn = ca.getFirstColumn();
int lastColumn = ca.getLastColumn();
int firstRow = ca.getFirstRow();
int lastRow = ca.getLastRow();
if (row >= firstRow && row <= lastRow) {
if (column >= firstColumn && column <= lastColumn) {
Row fRow = sheet.getRow(firstRow);
Cell fCell = fRow.getCell(firstColumn);
return getCellValue(fCell);
}
}
}
return null;
}
/**
*
*
* @param sheet
* @param row
* @param column
* @return
*/
private boolean isMergedRegion(Sheet sheet, int row, int column) {
int sheetMergeCount = sheet.getNumMergedRegions();
for (int i = 0; i < sheetMergeCount; i++) {
CellRangeAddress range = sheet.getMergedRegion(i);
int firstColumn = range.getFirstColumn();
int lastColumn = range.getLastColumn();
int firstRow = range.getFirstRow();
int lastRow = range.getLastRow();
if (row >= firstRow && row <= lastRow) {
if (column >= firstColumn && column <= lastColumn) {
return true;
}
}
}
return false;
}
}

@ -1,264 +0,0 @@
package com.connor.jd.operations;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import com.teamcenter.rac.kernel.TCComponent;
public class ExcelOperation {
private static final String XLS = "xls";
private static final String XLSX = "xlsx";
public static void writeExcel(File file, String outpath, Map<String, List<TCComponent>> jfw) {
if (jfw.size() == 1) {
writeoneExcel(file, outpath, jfw);
} else {
writeallExcel(file, outpath, jfw);
}
}
public static void writeallExcel(File file, String outpath, Map<String, List<TCComponent>> jfw) {
Workbook workbook;
try {
workbook = getworkbook(file);
System.out.println("已有文件");
Workbook newwb = getWorkbook(outpath);
Sheet newsheet = newwb.createSheet();
Sheet sheet = workbook.getSheetAt(0);
CellStyle style = workbook.createCellStyle();
Row row = sheet.getRow(0);
row.setRowStyle(style);
Row newrow0 = newsheet.createRow(0);
for (int i = 0; i < row.getLastCellNum(); i++) {
Cell newCell = newrow0.createCell(i);
newCell.setCellValue(row.getCell(i).getStringCellValue());
}
List<CellRangeAddress> cellRangeList = getCombineCell(sheet);
for (Entry<String, List<TCComponent>> ever : jfw.entrySet()) {
List<TCComponent> itemList = ever.getValue();
String sfname = ever.getKey();
System.out.println("itemList长度" + itemList.size());
for (int i = 0; i < cellRangeList.size(); i++) {
CellRangeAddress ca = cellRangeList.get(i);
int firstColumn = 0;
int firstRow = ca.getFirstRow();
int lastRow = ca.getLastRow();
Row fRow = sheet.getRow(firstRow);
Cell fCell = fRow.getCell(firstColumn);
String cellVelue = fCell.getStringCellValue();
System.out.println("合并单元格的内容" + cellVelue);
System.out.println("起始行" + firstRow + "最后行" + lastRow);
if (sfname.equals(cellVelue)) {
for (int z = firstRow; z <= lastRow; z++) {
Row newRow = sheet.getRow(z);
String value = newRow.getCell(1).getStringCellValue();
System.out.println("表格内容" + value);
for (int p = 0; p < itemList.size(); p++) {
if (itemList.get(p).getTCProperty("object_type").getDisplayableValue().equals(value)) {
TCComponent[] revlist = itemList.get(p).getTCProperty("revision_list")
.getReferenceValueArray();
TCComponent component = null;
for (int revlength = 0; revlength < revlist.length; revlength++) {
String status = revlist[revlength].getProperty("release_status_list");
if (!status.equals("")) {
component = revlist[revlength];
}
}
String[] info = new String[4];
if (component != null) {
info[0] = component.getProperty("owning_group");
info[1] = component.getProperty("owning_user");
info[2] = component.getProperty("creation_date");
info[3] = component.getProperty("item_id");
} else {
info[0] = "";
info[1] = "";
info[2] = "";
info[3] = "";
}
for (int v = 0; v < info.length; v++) {
Cell cellvalue = newRow.createCell(v + 2);
cellvalue.setCellValue(info[v]);
System.out.println("内容是" + info[v]);
}
}
}
}
}
}
}
FileOutputStream fos = new FileOutputStream(outpath);
workbook.write(fos);
workbook.close();
fos.close();
} catch (Exception e) {
}
}
public static void writeoneExcel(File file, String outpath, Map<String, List<TCComponent>> jfw) {
Workbook workbook;
try {
workbook = getworkbook(file);
System.out.println("已有文件");
Workbook newwb = getWorkbook(outpath);
Sheet newsheet = newwb.createSheet();
Sheet sheet = workbook.getSheetAt(0);
CellStyle style = newwb.createCellStyle();
Row row = sheet.getRow(0);
Row newrow0 = newsheet.createRow(0);
for (int i = 0; i < row.getLastCellNum(); i++) {
Cell oldCell = row.getCell(i);
style.cloneStyleFrom(oldCell.getCellStyle());
Cell newCell = newrow0.createCell(i);
newCell.setCellStyle(style);
newCell.setCellValue(oldCell.getStringCellValue());
}
List<CellRangeAddress> cellRangeList = getCombineCell(sheet);
for (Entry<String, List<TCComponent>> ever : jfw.entrySet()) {
List<TCComponent> itemList = ever.getValue();
String sfname = ever.getKey();
System.out.println("itemList长度" + itemList.size());
for (int i = 0; i < cellRangeList.size(); i++) {
CellRangeAddress ca = cellRangeList.get(i);
int firstColumn = 0;
int firstRow = ca.getFirstRow();
int lastRow = ca.getLastRow();
Row fRow = sheet.getRow(firstRow);
Cell fCell = fRow.getCell(firstColumn);
String cellVelue = fCell.getStringCellValue();
System.out.println("合并单元格的内容" + cellVelue);
System.out.println("起始行" + firstRow + "最后行" + lastRow);
if (sfname.equals(cellVelue)) {
List<String> valueList = new ArrayList<String>();
for (int z = firstRow; z <= lastRow; z++) {
Row oldRow = sheet.getRow(z);
String value = oldRow.getCell(1).getStringCellValue();
valueList.add(value);
}
for (int j = 1; j <= lastRow - firstRow + 1; j++) {
Row newRow = newsheet.createRow(j);
Cell cell = newRow.createCell(0);
cell.setCellValue(cellVelue);
Cell cell2 = newRow.createCell(1);
cell2.setCellValue(valueList.get(j - 1));
System.out.println("特殊表格内容" + valueList.get(j - 1));
for (int p = 0; p < itemList.size(); p++) {
if (itemList.get(p).getTCProperty("object_type").getDisplayableValue()
.equals(valueList.get(j - 1))) {
System.out.println(
"类型:" + itemList.get(p).getTCProperty("object_type").getDisplayableValue());
TCComponent[] revlist = itemList.get(p).getTCProperty("revision_list")
.getReferenceValueArray();
TCComponent component = null;
for (int revlength = 0; revlength < revlist.length; revlength++) {
String status = revlist[revlength].getProperty("release_status_list");
if (!status.equals("")) {
component = revlist[revlength];
}
}
String[] info = new String[4];
if (component != null) {
info[0] = component.getProperty("owning_group");
info[1] = component.getProperty("owning_user");
info[2] = component.getProperty("creation_date");
info[3] = component.getProperty("item_id");
} else {
info[0] = "";
info[1] = "";
info[2] = "";
info[3] = "";
}
for (int v = 0; v < info.length; v++) {
System.out.println("开始创建内容");
Cell cellvalue = newRow.createCell(v + 2);
cellvalue.setCellValue(info[v]);
System.out.println("内容是" + info[v]);
}
}
}
}
CellRangeAddress region = new CellRangeAddress(1, lastRow - firstRow + 1, 0, 0);
newsheet.addMergedRegion(region);
}
}
}
FileOutputStream fos = new FileOutputStream(outpath);
newwb.write(fos);
newwb.close();
fos.close();
} catch (Exception e) {
}
}
/**
* ,
*
* @param sheet
* @return List<CellRangeAddress>
*/
public static List<CellRangeAddress> getCombineCell(Sheet sheet) {
List<CellRangeAddress> list = new ArrayList<>();
// 获得一个 sheet 中合并单元格的数量
int sheetmergerCount = sheet.getNumMergedRegions();
// 遍历所有的合并单元格
for (int i = 0; i < sheetmergerCount; i++) {
// 获得合并单元格保存进list中
CellRangeAddress ca = sheet.getMergedRegion(i);
list.add(ca);
}
return list;
}
public static Workbook getWorkbook(String file) throws IOException {
Workbook workbook = null;
// FileInputStream in = new FileInputStream(file);
if (file.endsWith(XLS)) {
System.out.println("xls");
workbook = new HSSFWorkbook();
} else if (file.endsWith(XLSX)) {
System.out.println("xlsx");
workbook = new XSSFWorkbook();
} else {
System.out.println("格式错误");
}
return workbook;
}
public static Workbook getworkbook(File file) throws IOException {
Workbook workbook = null;
FileInputStream in = new FileInputStream(file);
if (file.getName().endsWith(XLS)) {
System.out.println("xls");
workbook = new HSSFWorkbook(in);
} else if (file.getName().endsWith(XLSX)) {
System.out.println("xlsx");
workbook = new XSSFWorkbook(in);
} else {
System.out.println("格式错误");
}
in.close();
return workbook;
}
}

@ -0,0 +1,29 @@
package com.connor.jd.plm.action;
import com.connor.jd.plm.dialog.EditClassificationDialog;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.common.actions.AbstractAIFAction;
import com.teamcenter.rac.kernel.TCException;
public class EditClassificationAction extends AbstractAIFAction {
private final AbstractAIFApplication app;
public EditClassificationAction(AbstractAIFApplication arg0, String arg1) {
super(arg0, arg1);
// TODO Auto-generated constructor stub
this.app = arg0;
}
@Override
public void run() {
// TODO Auto-generated method stub
try {
new EditClassificationDialog(app);
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

@ -0,0 +1,136 @@
package com.connor.jd.plm.action;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.JSONObject;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.common.actions.AbstractAIFAction;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentICO;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.kernel.ics.ICSProperty;
import com.teamcenter.rac.util.MessageBox;
import cn.hutool.http.HttpUtil;
public class WLTZReviseAction extends AbstractAIFAction {
private AbstractAIFApplication app;
private TCSession session;
public WLTZReviseAction(AbstractAIFApplication arg0, String arg1) {
super(arg0, arg1);
this.app = arg0;
this.session = (TCSession) app.getSession();
}
@Override
public void run() {
// TODO Auto-generated method stub
TCComponent target = (TCComponent) AIFUtility.getCurrentApplication().getTargetComponent();
String[] allow = getPrefStrArray("jd2_wltz_Revise_allow");
List<String> list = Arrays.asList(allow);
for (String s : list) {
System.out.println(s);
}
if (target instanceof TCComponentItemRevision) {
try {
TCComponentItemRevision rev = (TCComponentItemRevision) target;
String type = rev.getType();
System.out.println(type);
if (!list.contains(type)) {
MessageBox.post("当前对象类型不允许修订并发送分类!", "错误", MessageBox.ERROR);
return;
}
TCComponentItem item = rev.getItem();
TCComponentItemRevision newRev = rev.saveAs(item.getNewRev());
TCComponentICO ico = rev.getClassificationObjects()[0];
ICSProperty[] oldICSProps = ico.getICSProperties(true);
int[] ids = new int[oldICSProps.length];
String[] values = new String[oldICSProps.length];
for (int i = 0; i < oldICSProps.length; i++) {
System.out.println(oldICSProps[i].getId() + "=====>" + oldICSProps[i].getValue());
ids[i] = oldICSProps[i].getId();
values[i] = oldICSProps[i].getValue();
}
JSONObject json = new JSONObject();
json.put("ids", ids);
json.put("values", values);
String prop = json.toString();
prop = prop.replace("\"", "\\\"");
System.out.println("prop:" + prop);
String uid = newRev.getUid();
System.out.println("uid:" + uid);
String cid = rev.getClassificationClass();
System.out.println("cid:" + cid);
String server = getPrefStr("jd2_server_ip");
if (server == null || "".equals(server)) {
MessageBox.post("未配置jd2_server_ip首选项", "错误", MessageBox.ERROR);
return;
}
String url = "http://" + server + ":8080/classification";
Map<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("uid", uid);
paramMap.put("cid", cid);
paramMap.put("prop", prop);
final String URL = url;
final Map<String, Object> PARAMMAP = paramMap;
new Thread(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
HttpUtil.post(URL, PARAMMAP);
System.out.println("success");
}
}).start();
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} else {
MessageBox.post("当前对象类型不允许修订并发送分类!", "错误", MessageBox.ERROR);
}
}
/**
*
*
* @param prefName
* @return
*/
public String getPrefStr(String prefName) {
TCPreferenceService service = session.getPreferenceService();
String str = service.getString(TCPreferenceService.TC_preference_site, prefName);
if (str == null) {
str = new String("");
}
return str;
}
/**
*
*
* @param prefName
* @return
*/
public String[] getPrefStrArray(String prefName) {
TCPreferenceService service = session.getPreferenceService();
String[] strs = service.getStringArray(TCPreferenceService.TC_preference_site, prefName);
service.getStringValues(prefName);
service.getStringValue(prefName);
if (strs == null) {
strs = new String[] { "" };
}
return strs;
}
}

@ -0,0 +1,221 @@
package com.connor.jd.plm.dialog;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.ScrollPane;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.AbstractAIFDialog;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCClassificationService;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentICO;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCProperty;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.kernel.ics.ICSApplicationObject;
import com.teamcenter.rac.kernel.ics.ICSProperty;
import com.teamcenter.rac.kernel.ics.ICSPropertyDescription;
import com.teamcenter.rac.util.MessageBox;
public class EditClassificationDialog extends AbstractAIFDialog {
/**
*
*/
private static final long serialVersionUID = 1L;
private AbstractAIFApplication app;
private TCSession session;
private TCComponent target;
private Map<String, JTextField> propMap;
private TCClassificationService myService;
final EditClassificationDialog DIALOG = this;
public EditClassificationDialog(AbstractAIFApplication app) throws TCException {
this.app = app;
this.session = (TCSession) app.getSession();
this.myService = session.getClassificationService();
this.target = (TCComponent) AIFUtility.getCurrentApplication().getTargetComponent();
if (target instanceof TCComponentItemRevision) {
try {
initUI();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} else {
MessageBox.post("请选择版本", "错误", MessageBox.ERROR);
}
}
private void initUI() {
this.setTitle("修改分类属性");
this.setAutoRequestFocus(true);
this.setResizable(true);
JPanel rootPanel = new JPanel(new BorderLayout());
rootPanel.setBorder(BorderFactory.createLineBorder(Color.black, 1));
GridBagConstraints gbs = new GridBagConstraints();
GridBagLayout gbl = new GridBagLayout();
JPanel editPanel = new JPanel(gbl);
gbs.anchor = GridBagConstraints.NORTHWEST;
gbs.fill = GridBagConstraints.BOTH;
gbs.insets = new Insets(10, 20, 5, 10);
gbs.weighty = 0.2;
gbs.gridheight = 1;
Map<String, String> attr = null;
propMap = new HashMap<String, JTextField>();
TCComponentItemRevision rev = (TCComponentItemRevision) target;
try {
if (rev.getClassificationClass() != null || !"".equals(rev.getClassificationClass())) {
try {
attr = rev.getClassificationAttributes();
for (Entry<String, String> entry : attr.entrySet()) {
System.out.println(entry.getKey() + "===>" + entry.getValue());
}
} catch (TCException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
} else {
MessageBox.post("当前版本未被分类", "错误", MessageBox.ERROR);
return;
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
if (attr != null) {
int num = 0;
JLabel[] names = new JLabel[attr.size()];
JTextField[] values = new JTextField[attr.size()];
for (Entry<String, String> entry : attr.entrySet()) {
gbs.gridwidth = 1;
gbs.weightx = 0.4;
names[num] = new JLabel(entry.getKey() + "");
gbl.setConstraints(names[num], gbs);
gbs.gridwidth = GridBagConstraints.REMAINDER;
gbs.weightx = 2;
values[num] = new JTextField(entry.getValue());
propMap.put(entry.getKey(), values[num]);
gbl.setConstraints(values[num], gbs);
editPanel.add(names[num]);
editPanel.add(values[num]);
num++;
}
JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
JButton cancelBtn = new JButton("取消");
cancelBtn.addActionListener(cancel());
JButton okBtn = new JButton("确认");
okBtn.addActionListener(ok());
buttonPanel.add(okBtn);
buttonPanel.add(cancelBtn);
ScrollPane scroll = new ScrollPane();
scroll.add(editPanel);
scroll.setPreferredSize(new Dimension(300, 300));
rootPanel.add(scroll, BorderLayout.CENTER);
rootPanel.add(buttonPanel, BorderLayout.SOUTH);
this.setLayout(new BorderLayout());
this.add(rootPanel);
this.pack();
this.centerToScreen();
this.showDialog();
}
}
private ActionListener ok() {
return new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
TCComponentItemRevision rev = (TCComponentItemRevision) target;
saveClassification(rev);
try {
if (rev.getProperty("object_type").equals("JD2_GTBJRevision")) {
TCProperty property = rev.getTCProperty("TC_Is_Represented_By");
TCComponent[] comp = property.getReferenceValueArray();
if (comp.length > 0) {
TCComponentItemRevision tzrev = (TCComponentItemRevision) comp[0];
saveClassification(tzrev);
}
}
} catch (TCException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
DIALOG.disposeDialog();
}
};
}
private ActionListener cancel() {
return new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
DIALOG.disposeDialog();
}
};
}
private boolean saveClassification(TCComponentItemRevision rev) {
try {
ICSApplicationObject icsAppObj = myService.newICSApplicationObject("ICM");
TCComponentICO[] icoS = rev.getClassificationObjects();
String classID = rev.getClassificationClass();
if (icoS == null || icoS.length == 0) {
return false;
}
for (int i = 0; i < icoS.length; i++) {
TCComponentICO ico = icoS[i];
ICSPropertyDescription[] desc = ico.getICSPropertyDescriptors();
ICSProperty[] oldICSProps = ico.getICSProperties(true);
ICSProperty[] newICSProps = new ICSProperty[oldICSProps.length];
for (int j = 0; j < oldICSProps.length; j++) {
ICSProperty icsProp = oldICSProps[j];
// icsProp.setValue("1111");
newICSProps[j] = new ICSProperty(icsProp.getId(), "111111");
}
for (int j = 0; j < oldICSProps.length; j++) {
newICSProps[j].setValue(propMap.get(desc[j].getName()).getText());
}
ico.delete();
icsAppObj.create(myService.getTCComponentId(rev), myService.getTCComponentUid(rev));
icsAppObj.setView(classID);
icsAppObj.setProperties(newICSProps);
icsAppObj.save();
}
rev.refresh();
} catch (TCException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
return true;
}
}

@ -1,39 +0,0 @@
package com.connor.jd.plm.dialogs;
import javax.swing.JPanel;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.kernel.TCException;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
public class CSXWHDialog extends Application {
private AbstractAIFApplication app;
public CSXWHDialog() throws TCException {
}
private JPanel Panel;
private Object[] obj = new Object[] { "序号", "产品类型", "试验项目", "试验时间", "样品数量", "试验费用" };// 民用表
private Object[] obj2 = new Object[] { "序号", "类别", "项目", "项目费用" };// 工业表
public void initUI() {
}
@Override
public void start(Stage arg0) throws Exception {
Stage primaryStage = new Stage();
Pane root = new Pane();
Scene scene = new Scene(root, 382, 178);
primaryStage.setScene(scene);
primaryStage.setTitle("测试项维护");
primaryStage.show();
}
}

@ -1,285 +0,0 @@
package com.connor.jd.plm.dialogs;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.filechooser.FileNameExtensionFilter;
import com.connor.jd.operations.ExcelOperation;
import com.connor.jd.plm.utils.JDMethodUtil;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.AbstractAIFDialog;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentDataset;
import com.teamcenter.rac.kernel.TCComponentProjectSmartFolder;
import com.teamcenter.rac.kernel.TCComponentTcFile;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.ButtonLayout;
import com.teamcenter.rac.util.MessageBox;
public class QTXJCDialog extends AbstractAIFDialog {
private AbstractAIFApplication app;
private TCSession session;
private JLabel road = new JLabel();
private JComboBox<String> pjsName = new JComboBox<String>();
private List<String> sfList = new ArrayList<String>();
private TCComponent[] com;
private String type;
public QTXJCDialog(AbstractAIFApplication app, List<String> sfList, TCComponent[] com, TCSession session,
String type) throws TCException {
this.app = app;
this.sfList = sfList;
this.com = com;
this.session = session;
this.type = type;
initUI();
}
private void initUI() {
this.setAutoRequestFocus(true);
this.setPreferredSize(new Dimension(360, 150));
this.setResizable(false);
JLabel pjStage = new JLabel("项目阶段");
pjsName.addItem("");
for (int i = 0; i < sfList.size(); i++) {
pjsName.addItem(sfList.get(i));
}
JLabel roadLabel = new JLabel("路径");
JButton open = new JButton("...");
open.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
openBtn();
}
});
JButton export = new JButton("导出");
export.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
exportBtn();
}
});
JButton out = new JButton("取消");
out.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
dispose();
}
});
JPanel flow1 = new JPanel();
Box b1 = Box.createHorizontalBox();
flow1.add(b1);
// b1.add(Box.createHorizontalStrut(20));
b1.add(pjStage);
b1.add(Box.createHorizontalStrut(50));
b1.add(pjsName);
JPanel flow2 = new JPanel();
Box b2 = Box.createHorizontalBox();
flow2.add(b2);
b2.add(Box.createHorizontalStrut(20));
b2.add(roadLabel);
b2.add(Box.createHorizontalStrut(20));
b2.add(road);
b2.add(Box.createHorizontalStrut(80));
b2.add(open);
JPanel btn = new JPanel(new ButtonLayout());
btn.add(export);
btn.add(out);
JPanel center = new JPanel(new BorderLayout());
center.add(flow1, BorderLayout.NORTH);
center.add(flow2, BorderLayout.CENTER);
center.add(btn, BorderLayout.SOUTH);
this.add(center, "Center");
this.pack();
this.centerToScreen();
this.showDialog();
}
String roadName = null;
private void openBtn() {
JFileChooser chooser = new JFileChooser();
// chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
chooser.setDialogTitle("请选择要保存的文件夹");
// chooser.showDialog(new JLabel(), "确定");
FileNameExtensionFilter filter = new FileNameExtensionFilter("Excel工作簿(*.xlsx)", "xlsx");
chooser.setFileFilter(filter);
chooser.showSaveDialog(null);
// File file = chooser.getSelectedFile();
try {
if (chooser.getSelectedFile().getAbsolutePath() != null) {
String filePath = chooser.getSelectedFile().getAbsolutePath() + ".xlsx";
roadName = filePath;
if (filePath.length() > 10) {
road.setText(filePath.substring(0, 10) + "...");
} else {
road.setText(filePath);
}
}
} catch (Exception e) {
}
}
private void exportBtn() {
String jdname = "JDJFW";
if (roadName.equals("")) {
MessageBox.post("没有选择保存路径", "错误", MessageBox.ERROR);
} else {
System.out.println(road.getText());
String outpath = roadName;
System.out.println(outpath);
File file = getExcle(jdname, type);
String sel = (String) pjsName.getSelectedItem();
Map<String, List<TCComponent>> jfw = new HashMap<String, List<TCComponent>>();
if (sel.equals("")) {
for (int i = 0; i < sfList.size(); i++) {
TCComponentProjectSmartFolder sf = (TCComponentProjectSmartFolder) com[i];
try {
TCComponent[] psf = sf.getTCProperty("project_data").getReferenceValueArray();
List<TCComponent> jfList = new ArrayList<TCComponent>();
for (int j = 0; j < psf.length; j++) {
// TCComponentItem jf = (TCComponentItem) psf[j];
jfList.add(psf[j]);
}
jfw.put(sf.getProperty("object_string"), jfList);
} catch (TCException e) {
e.printStackTrace();
}
}
} else {
for (int i = 0; i < sfList.size(); i++) {
TCComponentProjectSmartFolder sf = (TCComponentProjectSmartFolder) com[i];
try {
if (sel.equals(sf.getProperty("object_string"))) {
TCComponent[] psf = sf.getTCProperty("project_data").getReferenceValueArray();
List<TCComponent> jfList = new ArrayList<TCComponent>();
for (int j = 0; j < psf.length; j++) {
// TCComponentItem jf = (TCComponentItem) psf[j];
jfList.add(psf[j]);
}
jfw.put(sel, jfList);
}
} catch (TCException e) {
e.printStackTrace();
}
}
}
ExcelOperation.writeExcel(file, outpath, jfw);
System.out.println("导出成功");
MessageBox.post("导出成功", "信息", MessageBox.INFORMATION);
dispose();
}
}
private File getExcle(String ssx, String type) {
File fmsFile = null;
String allpuid = JDMethodUtil.getPrefStr(ssx, session);
String[] relpuid = allpuid.split(";");
String puid = null;
switch (type) {
case "GT":
puid = relpuid[2];
break;
case "BL":
puid = relpuid[1];
break;
case "BX":
puid = relpuid[0];
break;
default:
break;
}
if (puid == null) {
MessageBox.post("请联系管理员检查首选项", "错误", MessageBox.ERROR);
return null;
}
TCComponentDataset dateset = null;
try {
dateset = (TCComponentDataset) session.stringToComponent(puid);
} catch (TCException e) {
e.printStackTrace();
}
if (dateset == null) {
MessageBox.post("未找到数据集,请联系管理员检查首选项", "错误", MessageBox.ERROR);
return null;
}
try {
TCComponentTcFile[] file = dateset.getTcFiles();
if (file.length == 0 || file.length != 1) {
MessageBox.post("数据集没有命名引用的文件或文件过多,请检查!", "警告", MessageBox.WARNING);
return null;
} else {
fmsFile = file[0].getFmsFile();
}
} catch (Exception e) {
e.printStackTrace();
}
return fmsFile;
}
// @Override
// public void start(Stage arg0) throws Exception {
// Stage primaryStage = new Stage();
// Pane root = new Pane();
// Label pjStage = new Label("项目阶段");
// pjStage.setLayoutX(37.0);
// pjStage.setLayoutY(51.0);
// ComboBox pjsName = new ComboBox();
// pjsName.setLayoutX(94.0);
// pjsName.setLayoutY(47.0);
// pjsName.setValue("");
// Label roadLabel = new Label("路径");
// roadLabel.setLayoutX(37.0);
// roadLabel.setLayoutY(107.0);
// Label road = new Label();
// road.setLayoutX(94.0);
// road.setLayoutY(107.0);
// Button open = new Button("...");
// open.setLayoutX(190.0);
// open.setLayoutY(103.0);
// Button export = new Button("导出");
// export.setLayoutX(67.0);
// export.setLayoutY(158.0);
// Button out = new Button("取消");
// out.setLayoutX(169.0);
// out.setLayoutY(158.0);
//
// root.getChildren().add(pjStage);
// root.getChildren().add(pjsName);
// root.getChildren().add(roadLabel);
// root.getChildren().add(road);
// root.getChildren().add(open);
// root.getChildren().add(export);
// root.getChildren().add(out);
//
// Scene scene = new Scene(root, 290, 207);
// primaryStage.setScene(scene);
// primaryStage.setResizable(false);
// primaryStage.show();
// }
}

@ -3,7 +3,6 @@ package com.connor.jd.plm.form;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Image;
import java.awt.Toolkit;
import javax.swing.JFrame;
@ -21,11 +20,22 @@ public class PhotoFrame extends JFrame {
public static PhotoFrame getInstance(String imgPath) {
if (instance == null) {
instance = new PhotoFrame(imgPath);
} else {
instance.zPanel.setImagePath(imgPath);
instance.setVisible(true);
instance.zPanel.setPreferredSize(
new Dimension(instance.zPanel.getImgWidth(),
instance.zPanel.getImgHeight()));
}
return instance;
}
private PhotoFrame(String imgPath) {
init(imgPath);
finalSetting();
}
private void init(String imgPath) {
con = getContentPane();
zPanel = new ZPanel();
@ -40,16 +50,10 @@ public class PhotoFrame extends JFrame {
imgSp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
con.add(imgSp, BorderLayout.CENTER);
finalSetting();
}
private void finalSetting() {
setTitle("ZakiSoft ZFileRenamerV0.2");
Image image = Toolkit.getDefaultToolkit()
.getImage(this.getClass().getResource("/title.gif"));
setIconImage(image);
setTitle("Ô¤ÀÀ");
Toolkit kit = Toolkit.getDefaultToolkit();
Dimension screenSize = kit.getScreenSize();
@ -59,10 +63,17 @@ public class PhotoFrame extends JFrame {
int frameW = getWidth();
setLocation((screenWidth - frameW) / 2 - 250,
(screenHeight - frameH) / 2 - 250);
setSize(500, 350);
setSize(screenWidth / 2, screenHeight / 2);
setVisible(true);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setResizable(true);
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
}
@Override
public void dispose() {
// TODO Auto-generated method stub
super.dispose();
System.out.println("Ô¤ÀÀ¹Ø±Õ");
zPanel.clear();
}
}

@ -39,6 +39,7 @@ import com.connor.jd.plm.table.CTable;
import com.connor.jd.plm.table.JCheckPanel;
import com.connor.jd.plm.table.JRadioPanel;
import com.connor.jd.plm.table.MyCellEditor;
import com.connor.jd.plm.table.TCTableUtil;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aifrcp.AIFUtility;
@ -58,18 +59,30 @@ public class SampleConfirmationForm extends AbstractRendering {
private CardLayout cl = new CardLayout();
private JPanel center = null;
private JPopupMenu menu = new JPopupMenu();
private JPopupMenu menu2 = new JPopupMenu();
private JPanel confirmPanel = new JPanel();
private JPanel examinePanel = new JPanel();
private CTMap model;
private CTMap model2;
private CTable table;
private CTable table2;
private int bottom;
private int top = 13;
private int top = 13;// 头部行数
private int bottom;// 中间部分结束
private int end = 14;// 尾部行数+1
private int top2 = 4;
private int bottom2;
private int end2 = 16;
private Map<String, String> prop;
private Map<String, int[]> general;
private List<String> disableEdit;
private Map<String, String> prop;
private Map<String, int[]> pic;
private Map<String, int[]> general2;
private List<String> disableEdit2;
private JRadioPanel sysl;
private JCheckPanel mqjd;
String[] colNames = { "jd2_no", "jd2_gg", "jd2_gg1", "jd2_gc", "jd2_gc1",
"jd2_1", "jd2_2", "jd2_3", "jd2_4", "jd2_5", "jd2_6", "jd2_7",
"jd2_8", "jd2_9", "jd2_10", "jd2_min", "jd2_max", "jd2_jg" };
public SampleConfirmationForm(TCComponent arg0) throws Exception {
super(arg0);
@ -105,7 +118,7 @@ public class SampleConfirmationForm extends AbstractRendering {
// 设置属性
model = new CTMap(47, 20);
bottom = model.getRowCount() - 14;
bottom = model.getRowCount() - end;
disableEdit = new ArrayList<>();// 不允许编辑
general = new HashMap<String, int[]>();// 要填写的一般属性
pic = new HashMap<String, int[]>();// 图片
@ -122,17 +135,25 @@ public class SampleConfirmationForm extends AbstractRendering {
model.setValueAt("滚筒研发", 2, 2);
disableEdit.add("2,2");
general.put("jd2_bz", new int[] { 2, 14 });
disableEdit.add("2,14");
general.put("jd2_sh", new int[] { 2, 16 });
disableEdit.add("2,16");
general.put("jd2_pz", new int[] { 2, 18 });
disableEdit.add("2,18");
model.setValueAt("创建日期", 4, 0);
disableEdit.add("4,0");
general.put("creation_date", new int[] { 4, 2 });
disableEdit.add("4,2");
model.setValueAt("创建人", 4, 5);
disableEdit.add("4,5");
general.put("owning_user", new int[] { 4, 7 });
disableEdit.add("4,7");
general.put("jd2_bzrq", new int[] { 4, 14 });
disableEdit.add("4,14");
general.put("jd2_shrq", new int[] { 4, 16 });
disableEdit.add("4,16");
general.put("jd2_pzrq", new int[] { 4, 18 });
disableEdit.add("4,18");
model.setValueAt("零件名", 6, 0);
disableEdit.add("6,0");
general.put("jd2_ljm", new int[] { 6, 2 });
@ -148,8 +169,7 @@ public class SampleConfirmationForm extends AbstractRendering {
general.put("jd2_wlbm", new int[] { 7, 2 });
model.setValueAt("送样数量", 7, 8);
disableEdit.add("7,8");
JRadioPanel sysl = new JRadioPanel(
new String[] { "3", "5", "10", "30" });
sysl = new JRadioPanel(new String[] { "3", "5", "10", "30" });
model.setValueAt(sysl, 7, 10);
model.setValueAt("状态", 7, 14);
disableEdit.add("7,14");
@ -175,7 +195,7 @@ public class SampleConfirmationForm extends AbstractRendering {
general.put("jd2_syyy", new int[] { 9, 10 });
model.setValueAt("目前阶段", 12, 0);
disableEdit.add("12,0");
JCheckPanel mqjd = new JCheckPanel(
mqjd = new JCheckPanel(
new String[] { "DV", "PV", "PR", "SR", "现场测试", "MP" });
model.setValueAt(mqjd, 12, 2);
@ -201,7 +221,7 @@ public class SampleConfirmationForm extends AbstractRendering {
disableEdit.add(top + 1 + ",18");
for (int i = top + 2; i <= bottom; i++) {
model.setValueAt(i - 1, i, 0);
model.setValueAt(i - 1 - top, i, 0);
disableEdit.add(i + ",0");
model.combine(new int[] { i }, new int[] { 2, 3, 4 });
}
@ -407,7 +427,7 @@ public class SampleConfirmationForm extends AbstractRendering {
table.getColumnModel().getColumn(5).setPreferredWidth(60);
table.getColumnModel().getColumn(6).setPreferredWidth(60);
for (int i = 7; i < model.getColumnCount() - 1; i++) {
table.getColumnModel().getColumn(i).setPreferredWidth(40);
table.getColumnModel().getColumn(i).setPreferredWidth(45);
}
table.getColumnModel().getColumn(model.getColumnCount() - 1)
.setPreferredWidth(80);
@ -479,6 +499,7 @@ public class SampleConfirmationForm extends AbstractRendering {
mqjd.setSelected(prop.get("jd2_mqjd"));
}
pic.put("user_data_1", new int[] { bottom + 3, 0 });
pic.put("user_data_2", new int[] { bottom + 3, 9 });
for (Entry<String, int[]> entry : pic.entrySet()) {
if (prop.containsKey(entry.getKey())) {
TCComponent comp = null;
@ -501,7 +522,7 @@ public class SampleConfirmationForm extends AbstractRendering {
int col = entry.getValue()[1];
int[] arr = model.getSpan(row, col);
int width = 0;
for(int i=0;i<arr[1];i++) {
for (int i = 0; i < arr[1]; i++) {
// width+=table.getColumnModel().getColumn()
}
System.out.println("row:" + arr[0] + ",col:" + arr[1]);
@ -527,14 +548,125 @@ public class SampleConfirmationForm extends AbstractRendering {
System.out.println("属性‘" + entry.getKey() + "’未找到");
}
}
if (prop.containsKey("jd2_ypqrdtable")) {
String[][] tableRows = TCTableUtil.getTableRows(form,
"jd2_ypqrdtable", colNames);
System.out.println(Arrays.deepToString(tableRows));
for (int i = 0; i < tableRows.length; i++) {
for (int ii = 0; ii < tableRows[0].length; ii++) {
if (i + top + 2 > bottom) {
int num = Integer.parseInt(
model.getValueAt(bottom, 0).toString());
model.insertRow(bottom);
model.setValueAt(num + 1, bottom, 0);
model.combine(new int[] { bottom },
new int[] { 2, 3, 4 });
bottom = model.getRowCount() - end;
}
model.setValueAt(tableRows[i][ii], i + top + 2,
ii > 2 ? ii + 2 : ii);
}
}
}
ScrollPane confirmScrollPanel = new ScrollPane();
confirmScrollPanel.add(confirmPanel);
// 检查表
JTextField text2 = new JTextField("examine");
examinePanel.add(text2);
examinePanel.setBorder(BorderFactory.createLineBorder(Color.black, 1));
examinePanel.setLayout(new BorderLayout());
model2 = new CTMap(49, 10);
bottom2 = model2.getRowCount() - end2;
model2.setValueAt("SPL No", 0, 0);
disableEdit2.add("0,0");
model2.combine(new int[] { 0, 1, 2, 3 }, new int[] { 0 });
model2.setValueAt("规格 SPEC", 0, 1);
disableEdit2.add("0,1");
model2.combine(new int[] { 0, 1 }, new int[] { 1 });
for (int i = 0; i < 8; i++) {
model2.setValueAt("CTQ<" + i + 1 + ">", 0, i + 2);
disableEdit2.add("0," + (i + 2));
}
model2.setValueAt("LOW", 2, 1);
disableEdit2.add("2,1");
model2.setValueAt("UP", 3, 1);
disableEdit2.add("3,1");
for (int i = top2; i <= model2.getRowCount(); i++) {
model2.setValueAt(i - top2, i, 0);
disableEdit2.add(i + ",0");
model2.combine(new int[] { i }, new int[] { 0, 1 });
}
model2.setValueAt("MIN", bottom + 1, 0);
model2.setValueAt("MAX", bottom + 2, 0);
model2.setValueAt("R", bottom + 3, 0);
model2.setValueAt("标准偏差", bottom + 4, 0);
model2.setValueAt("平均", bottom + 5, 0);
model2.setValueAt("X,BAR-3S", bottom + 6, 0);
model2.setValueAt("X,BAR+3S", bottom + 7, 0);
model2.setValueAt("CP", bottom + 8, 0);
model2.setValueAt("Cpu", bottom + 9, 0);
model2.setValueAt("Cpl", bottom + 10, 0);
model2.setValueAt("CPK", bottom + 11, 0);
model2.setValueAt("SU 预测不良", bottom + 12, 0);
model2.setValueAt("SL 预测不良", bottom + 13, 0);
model2.setValueAt("预测不良(PPM)", bottom + 14, 0);
model2.setValueAt("工程能力意义", bottom + 15, 0);
table2 = new CTable(model2) {
@Override
public boolean isCellEditable(int row, int col) {
if (isEditorDisable(disableEdit2, row, col)) {
return false;
}
return true;
}
};
table2.setRowHeight(25);
table2.setBorder(BorderFactory.createLineBorder(Color.black));
for (int i = 0; i < model.getColumnCount(); i++) {
table2.getColumnModel().getColumn(i).setPreferredWidth(80);
}
DefaultTableCellRenderer tcr2 = new DefaultTableCellRenderer() {
// 重写方法
@Override
public Component getTableCellRendererComponent(JTable table,
Object value, boolean isSelected, boolean hasFocus, int row,
int column) {
// TODO Auto-generated method stub
int maxPreferredHeight = 0;
for (int i = 0; i < table.getColumnCount(); i++) {
setText("" + table.getValueAt(row, i));
setSize(table.getColumnModel().getColumn(column).getWidth(),
0);
maxPreferredHeight = Math.max(maxPreferredHeight,
getPreferredSize().height);
}
setBackground(Color.white);
// if(points1.contains(new Point(row,column)))
// setForeground(new Color(0,0,255));
// else
setForeground(Color.black);
if (isSelected) {
setBackground(new Color(0, 120, 215));
setForeground(Color.white);
}
if (table.getRowHeight(row) != maxPreferredHeight) // 少了这行则处理器瞎忙
table.setRowHeight(row, maxPreferredHeight);
setText(value == null ? "" : value.toString());
return this;
}
};
tcr2.setHorizontalAlignment(SwingConstants.CENTER);
table2.setDefaultRenderer(Object.class, tcr2);
table2.addMouseListener(rightClick2());
examinePanel.add(table2, BorderLayout.CENTER);
// ÓÒ¼ü²Ëµ¥
ScrollPane examineScrollPanel = new ScrollPane();
examineScrollPanel.add(examinePanel);
// 确认单右键菜单
menu.setVisible(false);
JMenuItem addP;
addP = new JMenuItem("添加图片");
@ -549,8 +681,26 @@ public class SampleConfirmationForm extends AbstractRendering {
menu.add(insertR);
insertR.addActionListener(insertRow());
// 检验单右键菜单
menu2.setVisible(false);
JMenuItem addR2;
addR2 = new JMenuItem("添加行");
menu2.add(addR2);
addR2.addActionListener(addRow2());
JMenuItem insertR2;
insertR2 = new JMenuItem("插入行");
menu2.add(insertR2);
insertR2.addActionListener(insertRow2());
center.add("confirm", confirmScrollPanel);
center.add("examine", examinePanel);
center.add("examine", examineScrollPanel);
root.add(buttons, BorderLayout.NORTH);
root.add(center, BorderLayout.CENTER);
this.add(menu);
this.add(root, BorderLayout.CENTER);
center.add("confirm", confirmScrollPanel);
center.add("examine", examineScrollPanel);
root.add(buttons, BorderLayout.NORTH);
root.add(center, BorderLayout.CENTER);
this.add(menu);
@ -561,7 +711,7 @@ public class SampleConfirmationForm extends AbstractRendering {
@Override
public void saveRendering() {
// TODO Auto-generated method stub
// 保存图片
JLabel label = null;
for (Entry<String, int[]> entry : pic.entrySet()) {
if (prop.containsKey(entry.getKey())) {
@ -576,6 +726,58 @@ public class SampleConfirmationForm extends AbstractRendering {
}
}
// 保存选择
try {
if (prop.containsKey("jd2_sysl")) {
form.setProperty("jd2_sysl", sysl.getSelected() == null ? ""
: sysl.getSelected().getText());
}
if (prop.containsKey("jd2_mqjd")) {
form.setProperty("jd2_mqjd", mqjd.getSelectedText() == null ? ""
: mqjd.getSelectedText());
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// 保存普通数据
for (Entry<String, int[]> entry : general.entrySet()) {
try {
if (prop.containsKey(entry.getKey())) {
form.setProperty(entry.getKey(),
model.getValueAt(entry.getValue()[0],
entry.getValue()[1]).toString());
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
// 保存表格
if (prop.containsKey("jd2_ypqrdtable")) {
List<String[]> data = new ArrayList<String[]>();
int num = 0;
while (model.getValueAt(top + 2 + num, 1) != null
&& !"".equals(model.getValueAt(top + 2 + num, 1))) {
String[] row = new String[18];
for (int ii = 0; ii < 18; ii++) {
Object object = model.getValueAt(top + 2 + num,
ii > 2 ? ii + 2 : ii);
if (object == null) {
row[ii] = "";
} else {
row[ii] = object.toString();
}
System.out.println(row[ii]);
}
data.add(row);
num++;
}
String[][] dataArr = data.toArray(new String[data.size()][]);
System.out.println(Arrays.deepToString(dataArr));
TCTableUtil.setTableRows(form, "jd2_ypqrdtable", colNames, dataArr);
}
}
@ -584,7 +786,6 @@ public class SampleConfirmationForm extends AbstractRendering {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
System.out.println("confirm");
cl.show(center, "confirm");
}
@ -618,6 +819,19 @@ public class SampleConfirmationForm extends AbstractRendering {
return mouseAdapter;
}
private MouseAdapter rightClick2() {
MouseAdapter mouseAdapter = new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON3 && form.isCheckedOut()
&& table2.getSelectedRow() != -1) {
menu2.show(e.getComponent(), e.getX(), e.getY());
}
}
};
return mouseAdapter;
}
private ActionListener addPic() {
ActionListener actionListener = new ActionListener() {
@ -654,7 +868,6 @@ public class SampleConfirmationForm extends AbstractRendering {
try {
datasetType = (TCComponentDatasetType) session
.getTypeComponent("Dataset");
TCComponentDataset dataset = datasetType
.create(file.getName(), "", "Image");
dataset.setFiles(as1, as2);
@ -706,7 +919,29 @@ public class SampleConfirmationForm extends AbstractRendering {
model.insertRow(bottom);
model.setValueAt(num + 1, bottom, 0);
model.combine(new int[] { bottom }, new int[] { 2, 3, 4 });
bottom = model.getRowCount() - 14;
bottom = model.getRowCount() - end;
} else {
// 提示
}
}
};
return actionListener;
}
private ActionListener addRow2() {
ActionListener actionListener = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
int row = table2.getSelectedRow();
if (row >= top2 && row <= bottom2) {
int num = Integer
.parseInt(model2.getValueAt(bottom2, 0).toString());
model2.insertRow(bottom2);
model2.setValueAt(num + 1, bottom2, 0);
model2.combine(new int[] { bottom2 }, new int[] { 0, 1 });
bottom2 = model2.getRowCount() - end2;
} else {
// 提示
}
@ -730,7 +965,31 @@ public class SampleConfirmationForm extends AbstractRendering {
model.setValueAt(num + i + 1 - row, row, 0);
}
model.combine(new int[] { row }, new int[] { 2, 3, 4 });
bottom = model.getRowCount() - 14;
bottom = model.getRowCount() - end;
} else {
// 提示
}
}
};
return actionListener;
}
private ActionListener insertRow2() {
ActionListener actionListener = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
int row = table2.getSelectedRow();
if (row >= top2 && row <= bottom2) {
int num = Integer
.parseInt(model2.getValueAt(row, 0).toString());
model2.insertRow(row);
for (int i = row; i < model2.getRowCount(); i++) {
model2.setValueAt(num + i + 1 - row, row, 0);
}
model2.combine(new int[] { row }, new int[] { 0, 1 });
bottom2 = model2.getRowCount() - end2;
} else {
// 提示
}
@ -744,11 +1003,12 @@ public class SampleConfirmationForm extends AbstractRendering {
}
private MouseAdapter showImg(String path) {
final String imagePath = path;
MouseAdapter adapter = new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 2) {
PhotoFrame.getInstance(path);
PhotoFrame.getInstance(imagePath);
}
}
};

@ -14,6 +14,7 @@ public class ZPanel extends javax.swing.JPanel {
private Image image;
private int imgWidth;
private int imgHeight;
private FileInputStream input;
public int getImgWidth() {
return imgWidth;
@ -39,7 +40,8 @@ public class ZPanel extends javax.swing.JPanel {
// image = Toolkit.getDefaultToolkit().getImage(imgPath);
try {
// 该方法会将图像加载到内存,从而拿到图像的详细信息。
image = ImageIO.read(new FileInputStream(imgPath));
input = new FileInputStream(imgPath);
image = ImageIO.read(input);
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
@ -62,4 +64,16 @@ public class ZPanel extends javax.swing.JPanel {
this);
g = null;
}
public void clear() {
if (input != null) {
try {
image = null;
input.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}

@ -1,40 +0,0 @@
package com.connor.jd.plm.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.jd.plm.dialogs.CSXWHDialog;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCSession;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.stage.Stage;
public class CSXWHHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
new Thread(() -> {
new JFXPanel();
Platform.setImplicitExit(false);
Platform.runLater(new Runnable() {
@Override
public void run() {
try {
CSXWHDialog csxwh = new CSXWHDialog();
csxwh.start(new Stage());
} catch (Exception e) {
e.printStackTrace();
}
}
});
}).start();
return null;
}
}

@ -38,8 +38,7 @@ import com.teamcenter.rac.util.UIUtilities;
import com.teamcenter.rac.util.wizard.extension.BaseExternalWizardDialog;
import com.teamcenter.rac.util.wizard.extension.WizardExtensionHelper;
public class CreateItemHandler extends AbstractHandler
implements IExecutableExtension {
public class CreateItemHandler extends AbstractHandler implements IExecutableExtension {
private TCSession session;
private String name;
private AbstractAIFApplication app;
@ -58,8 +57,7 @@ public class CreateItemHandler extends AbstractHandler
protected NewBOModel m_boModel;
@Override
public Object execute(ExecutionEvent executionevent)
throws ExecutionException {
public Object execute(ExecutionEvent executionevent) throws ExecutionException {
System.out.println("开始执行-----------");
app = AIFUtility.getCurrentApplication();
TCComponent comp = (TCComponent) app.getTargetComponent();
@ -103,8 +101,7 @@ public class CreateItemHandler extends AbstractHandler
throw new IllegalArgumentException("Event can't be null");
boolean flag = false;
if (executionevent.getParameters() != null
&& executionevent.getParameters().containsKey("selection")) {
if (executionevent.getParameters() != null && executionevent.getParameters().containsKey("selection")) {
Object obj = executionevent.getParameters().get("selection");
if (obj instanceof InterfaceAIFComponent[]) {
selectedCmps = (InterfaceAIFComponent[]) obj;
@ -113,10 +110,8 @@ public class CreateItemHandler extends AbstractHandler
}
}
if (!flag) {
m_currentSelection = HandlerUtil
.getCurrentSelection(executionevent);
selectedCmps = SelectionHelper
.getTargetComponents(m_currentSelection);
m_currentSelection = HandlerUtil.getCurrentSelection(executionevent);
selectedCmps = SelectionHelper.getTargetComponents(m_currentSelection);
}
m_boModel = getBOModel();
launchWizard(executionevent);
@ -128,13 +123,12 @@ public class CreateItemHandler extends AbstractHandler
*
* if (opType .equals("")) { TCComponentItemType itemType =
* (TCComponentItemType) session.getTypeComponent(opType); // create参数:
* ID TCComponentItem item =
* itemType.create(itemType.getNewID(), itemType.getNewRev(null), opType,
* name + "表", "", null);
* ID TCComponentItem item = itemType.create(itemType.getNewID(),
* itemType.getNewRev(null), opType, name + "表", "", null);
*
* comp.add("contents", item); MessageBox.post(name + "表对象创建成功", "成功",
* MessageBox.INFORMATION); } } catch (TCException e) { // TODO
* Auto-generated catch block e.printStackTrace(); } }
* MessageBox.INFORMATION); } } catch (TCException e) { // TODO Auto-generated
* catch block e.printStackTrace(); } }
*/
private class CreateNewBOSWTDialog implements Runnable {
@ -215,16 +209,14 @@ public class CreateItemHandler extends AbstractHandler
m_type = s;
}
CreateNewBOSWTDialog(Shell shell, String s,
CreateNewBOSWTDialog createnewboswtdialog) {
CreateNewBOSWTDialog(Shell shell, String s, CreateNewBOSWTDialog createnewboswtdialog) {
this(shell, s);
}
}
@Override
public void setInitializationData(
IConfigurationElement iconfigurationelement, String s, Object obj)
public void setInitializationData(IConfigurationElement iconfigurationelement, String s, Object obj)
throws CoreException {
}
@ -263,12 +255,10 @@ public class CreateItemHandler extends AbstractHandler
protected void initWizardModel(ExecutionEvent executionevent) {
boolean flag = false;
Object obj = null;
ISessionService isessionservice = (ISessionService) OSGIUtil.getService(
RACUICommandsActivator.getDefault(),
ISessionService isessionservice = (ISessionService) OSGIUtil.getService(RACUICommandsActivator.getDefault(),
com.teamcenter.rac.services.ISessionService.class);
try {
session = (TCSession) isessionservice.getSession(
com.teamcenter.rac.kernel.TCSession.class.getName());
session = (TCSession) isessionservice.getSession(com.teamcenter.rac.kernel.TCSession.class.getName());
} catch (Exception _ex) {
session = (TCSession) AIFUtility.getDefaultSession();
}
@ -277,11 +267,9 @@ public class CreateItemHandler extends AbstractHandler
m_boModel.setFrame(AIFUtility.getActiveDesktop());
if (executionevent != null) {
if (executionevent.getParameters().containsKey("revisionFlag"))
flag = ((Boolean) executionevent.getParameters()
.get("revisionFlag")).booleanValue();
flag = ((Boolean) executionevent.getParameters().get("revisionFlag")).booleanValue();
if (executionevent.getParameters().containsKey("pasteRelation")) {
String s = (String) executionevent.getParameters()
.get("pasteRelation");
String s = (String) executionevent.getParameters().get("pasteRelation");
if (s != null) {
String as[] = null;
as = s.split(",");
@ -289,8 +277,7 @@ public class CreateItemHandler extends AbstractHandler
m_boModel.setPreAssignedRelType(as);
}
}
if (executionevent.getParameters()
.containsKey("parentComponents")) {
if (executionevent.getParameters().containsKey("parentComponents")) {
InterfaceAIFComponent ainterfaceaifcomponent[] = (InterfaceAIFComponent[]) executionevent
.getParameters().get("parentComponents");
m_boModel.setTargetArray(ainterfaceaifcomponent);
@ -307,8 +294,7 @@ public class CreateItemHandler extends AbstractHandler
m_boModel.setCurrentSelection(m_currentSelection);
}
protected void readDisplayParameters(NewBOWizard newbowizard,
WizardDialog wizarddialog) {
protected void readDisplayParameters(NewBOWizard newbowizard, WizardDialog wizarddialog) {
newbowizard.retrievePersistedDialogSettings(wizarddialog);
}
@ -317,8 +303,7 @@ public class CreateItemHandler extends AbstractHandler
try {
TCTypeService service = session.getTypeService();
TCComponentBOMWindowType winType = (TCComponentBOMWindowType) service
.getTypeComponent("BOMWindow");
TCComponentBOMWindowType winType = (TCComponentBOMWindowType) service.getTypeComponent("BOMWindow");
window = winType.create(null);
line = window.setWindowTopLine(rev.getItem(), rev, null, null);
// window.close();//如果不关闭会导致BOM被占用乃至包含BOM的版本不能删除除非重启TC

@ -0,0 +1,22 @@
package com.connor.jd.plm.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.jd.plm.action.EditClassificationAction;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
public class EditClassificationHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
// TODO Auto-generated method stub
AbstractAIFApplication app = AIFUtility.getCurrentApplication();
EditClassificationAction action = new EditClassificationAction(app, "");
new Thread(action).start();
return null;
}
}

@ -1,67 +0,0 @@
package com.connor.jd.plm.handlers;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.jd.plm.dialogs.QTXJCDialog;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentProject;
import com.teamcenter.rac.kernel.TCComponentProjectSmartFolder;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
public class QTXJCHandler extends AbstractHandler {
private TCComponent[] com;
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
List<String> sfList = new ArrayList<String>();
String name = arg0.getCommand().getId();
String type = null;
switch (name) {
case "JDProject.menus.JD2_GTQTXJC":
type = "GT";
break;
case "JDProject.menus.JD2_BLQTXJC":
type = "BL";
break;
case "JDProject.menus.JD2_BXQTXJC":
type = "BX";
break;
default:
break;
}
try {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
if (app.getTargetComponent() != null && app.getTargetComponent() instanceof TCComponentProject) {
TCComponentProject project = (TCComponentProject) app.getTargetComponent();
com = project.getTCProperty("project_data").getReferenceValueArray();
for (int i = 0; i < com.length; i++) {
TCComponentProjectSmartFolder sf = (TCComponentProjectSmartFolder) com[i];
sfList.add(sf.getProperty("object_string"));
}
TCSession session = (TCSession) app.getSession();
try {
new Thread(new QTXJCDialog(app, sfList, com, session, type)).start();
} catch (TCException e) {
e.printStackTrace();
}
} else {
MessageBox.post("ÇëÑ¡ÔñÏîÄ¿", "Ìáʾ", MessageBox.INFORMATION);
}
} catch (TCException e1) {
e1.printStackTrace();
}
return null;
}
}

@ -0,0 +1,22 @@
package com.connor.jd.plm.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.jd.plm.action.WLTZReviseAction;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
public class WLTZReviseHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
// TODO Auto-generated method stub
AbstractAIFApplication app = AIFUtility.getCurrentApplication();
WLTZReviseAction action = new WLTZReviseAction(app, "");
new Thread(action).start();
return null;
}
}

@ -0,0 +1,105 @@
package com.connor.jd.plm.handlers;
import java.text.MessageFormat;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponentFolder;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.schedule.commands.newschedule.NewScheduleHandler;
import com.teamcenter.rac.schedule.plugin.Activator;
import com.teamcenter.rac.schedule.project.sharedUtils.TimeZoneCalUtil;
import com.teamcenter.rac.schedule.wizardpages.SchedulePageModel;
import com.teamcenter.rac.ui.commands.handlers.NewBOHandler;
import com.teamcenter.rac.util.Registry;
public class Wf001ScheduleHandler extends NewBOHandler {
private TCSession session;
public Wf001ScheduleHandler() {
}
public static SchedulePageModel getScheduleModel() {
if (scheduleModel == null)
scheduleModel = new SchedulePageModel();
return scheduleModel;
}
@Override
public Object execute(ExecutionEvent executionevent) throws ExecutionException {
AbstractAIFApplication app = AIFUtility.getCurrentApplication();
session = (TCSession) app.getSession();
InterfaceAIFComponent targetComp = app.getTargetComponent();
if (targetComp == null) {
return null;
}
if (targetComp instanceof TCComponentFolder) {
scheduleModel = null;
wizardId = "com.teamcenter.rac.schedule.commands.newschedule.GenericScheduleWizard";
TCSession tcsession = (TCSession) Activator.getDefault().getSessionService().getDefaultSession();
TCPreferenceService tcpreferenceservice = tcsession.getPreferenceService();
String s = tcpreferenceservice.getString(4, "SiteTimeZone", "null");
IWorkbench iworkbench = PlatformUI.getWorkbench();
IWorkbenchWindow iworkbenchwindow = iworkbench.getActiveWorkbenchWindow();
Shell shell = iworkbenchwindow.getShell();
if ("null".equals(s) || s == null) {
MessageDialog.openInformation(shell, textRegistry.getString("tzNotSet.TITLE"),
textRegistry.getString("tzNotSet.MSG"));
return Boolean.valueOf(false);
}
if (!TimeZoneCalUtil.testTimeZoneID(s)) {
String s1 = textRegistry.getString("tzInvalid.MSG");
s1 = MessageFormat.format(s1, new Object[] { s });
MessageDialog.openInformation(shell, textRegistry.getString("tzInvalid.TITLE"), s1);
return Boolean.valueOf(false);
} else {
return super.execute(executionevent);
}
//
// } else
//
// if (targetComp.getType().equals("TC_Project")) {
//
// CreateScheduleOperation operation = new CreateScheduleOperation(targetComp,session);
// session.queueOperation(operation);
//
// return null;
// } else {
// MessageBox.post("ÇëÑ¡ÖÐÏîĿִÐд´½¨!!", "´íÎó", MessageBox.ERROR);
// return null;
}
return null;
}
@Override
public String getWizardTitle() {
Registry registry = Registry.getRegistry(NewScheduleHandler.class);
return registry.getString("dialog.TITLE");
}
private static SchedulePageModel scheduleModel = null;
private final Registry textRegistry = Registry.getRegistry("com.teamcenter.rac.schedule.schedule");
}
/*
* DECOMPILATION REPORT
*
* Decompiled from:
* D:\Teamcenter_4Sh\OTW11\rac\plugins\com.teamcenter.rac.schedule_11000.2.0.jar
* Total time: 1083 ms Jad reported messages/errors: Exit status: 0 Caught
* exceptions:
*/

@ -36,13 +36,29 @@ public class JCheckPanel extends JPanel {
return list;
}
public String getSelectedText() {
List<JCheckBox> list = getSelected();
if (list.size() == 0) {
return null;
}
String str = "";
for (JCheckBox jcb : list) {
str += jcb.getText();
str += ",";
}
return str.substring(0, str.length() - 1);
}
public void setSelected(int index) {
buttons[index].setSelected(true);
}
public void setSelected(String value) {
for (int i = 0; i < buttons.length; i++) {
buttons[i].setSelected(buttons[i].getText().equals(value));
String[] arr = value.split(",");
for (int i = 0; i < arr.length; i++) {
for (int ii = 0; ii < buttons.length; ii++) {
buttons[ii].setSelected(buttons[ii].getText().equals(arr[i]));
}
}
}
}

@ -26,8 +26,11 @@ public class JRadioPanel extends JPanel {
}
public JRadioButton getSelected() {
return (JRadioButton) buttonGroup.getSelection()
.getSelectedObjects()[0];
if (buttonGroup.getSelection() != null) {
return (JRadioButton) buttonGroup.getSelection()
.getSelectedObjects()[0];
}
return null;
}
public void setSelected(int index) {

@ -0,0 +1,80 @@
package com.connor.jd.plm.table;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentForm;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCProperty;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.schemas.soa._2006_03.exceptions.ServiceException;
import com.teamcenter.services.rac.core.DataManagementService;
import com.teamcenter.services.rac.core._2008_06.DataManagement.CreateIn;
import com.teamcenter.services.rac.core._2008_06.DataManagement.CreateResponse;
public class TCTableUtil {
public static String[][] getTableRows(TCComponentForm form, String prop,
String[] colNames) {
try {
TCProperty tcProperty = form.getTCProperty(prop);
TCComponent[] components = tcProperty.getReferenceValueArray();
String[][] res = new String[components.length][colNames.length];
for (int i = 0; i < components.length; i++) {
for (int ii = 0; ii < colNames.length; ii++) {
res[i][ii] = components[i]
.getPropertyDisplayableValue(colNames[ii]);
}
}
return res;
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
}
public static boolean setTableRows(TCComponentForm form, String prop,
String[] colNames, String[][] rows) {
List<TCComponent> list = new ArrayList<TCComponent>();
DataManagementService service = DataManagementService.getService(
(TCSession) AIFUtility.getCurrentApplication().getSession());
CreateIn ci = new CreateIn();
ci.data.boName = "JD2_table";
Map<String, String> map = new HashMap<String, String>();
for (int i = 0; i < rows.length; i++) {
for (int ii = 0; ii < colNames.length; ii++) {
map.put(colNames[ii], rows[i][ii]);
}
System.out.println(map.size());
ci.data.stringProps = map;
try {
CreateResponse response = service
.createObjects(new CreateIn[] { ci });
System.out.println("CreateResponse size:"
+ response.serviceData.sizeOfCreatedObjects());
if (response.serviceData.sizeOfCreatedObjects() > 0) {
list.add(response.output[0].objects[0]);
}
} catch (ServiceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
try {
form.getTCProperty(prop).setReferenceValueArray(
list.toArray(new TCComponent[list.size()]));
System.out.println("±£´ætable³É¹¦");
return true;
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return false;
}
}

@ -1,47 +0,0 @@
package com.connor.jd.plm.utils;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.kernel.TCUserService;
public class JDMethodUtil {
public static TCPreferenceService service;
public static TCUserService userservice;
/**
*
*
* @param prefName
* @return
*/
public static String getPrefStr(String prefName, TCSession session) {
if (service == null) {
service = session.getPreferenceService();
}
String str = service.getString(TCPreferenceService.TC_preference_site, prefName);
if (str == null) {
str = new String("");
}
return str;
}
/**
*
*
* @param prefName
* @return
*/
public static String[] getPrefStrArray(String prefName, TCSession session) {
if (service == null) {
service = session.getPreferenceService();
}
String[] strs = service.getStringArray(TCPreferenceService.TC_preference_site, prefName);
service.getStringValues(prefName);
service.getStringValue(prefName);
if (strs == null) {
strs = new String[] { "" };
}
return strs;
}
}

@ -1 +1 @@
JD2ConfirmFormRevisionMaster.FORMJAVARENDERING=com.connor.jd.plm.form.SampleConfirmationForm
JD2_GTYPQRDRevisionMaster.FORMJAVARENDERING=com.connor.jd.plm.form.SampleConfirmationForm
Loading…
Cancel
Save