master
郭宇航 4 years ago
commit a500ba7084

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/activation-1.1.jar"/>
<classpathentry kind="lib" path="lib/antlr-2.7.7.jar"/>
<classpathentry kind="lib" path="lib/apache-commons-codec-1.4.jar"/>
<classpathentry kind="lib" path="lib/apache-mime4j-core-0.7.2.jar"/>
<classpathentry kind="lib" path="lib/axiom-api-1.2.13.jar"/>
<classpathentry kind="lib" path="lib/axiom-dom-1.2.13.jar"/>
<classpathentry kind="lib" path="lib/axiom-impl-1.2.13.jar"/>
<classpathentry kind="lib" path="lib/axis2-adb-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-adb-codegen-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-ant-plugin-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-clustering-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-codegen-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-corba-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-fastinfoset-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-java2wsdl-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-jaxbri-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-jaxws-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-jibx-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-json-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-kernel-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-metadata-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-mtompolicy-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-saaj-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-soapmonitor-servlet-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-spring-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-transport-http-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-transport-local-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/axis2-xmlbeans-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/bcel-5.1.jar"/>
<classpathentry kind="lib" path="lib/commons-beanutils-1.7.0.jar"/>
<classpathentry kind="lib" path="lib/commons-cli-1.2.jar"/>
<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="lib/commons-collections-3.2.jar"/>
<classpathentry kind="lib" path="lib/commons-fileupload-1.2.jar"/>
<classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="lib/commons-lang-2.4.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
<classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/ezmorph-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/geronimo-annotation_1.0_spec-1.1.jar"/>
<classpathentry kind="lib" path="lib/geronimo-jaxws_2.2_spec-1.0.jar"/>
<classpathentry kind="lib" path="lib/geronimo-jta_1.1_spec-1.1.jar"/>
<classpathentry kind="lib" path="lib/geronimo-saaj_1.3_spec-1.0.1.jar"/>
<classpathentry kind="lib" path="lib/geronimo-stax-api_1.0_spec-1.0.1.jar"/>
<classpathentry kind="lib" path="lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar"/>
<classpathentry kind="lib" path="lib/httpcore-4.0.jar"/>
<classpathentry kind="lib" path="lib/itext-2.0.3.jar"/>
<classpathentry kind="lib" path="lib/iText-5.0.2.jar"/>
<classpathentry kind="lib" path="lib/iTextAsian.jar"/>
<classpathentry kind="lib" path="lib/jalopy-1.5rc3.jar"/>
<classpathentry kind="lib" path="lib/jaxb-api-2.1.jar"/>
<classpathentry kind="lib" path="lib/jaxb-impl-2.1.7.jar"/>
<classpathentry kind="lib" path="lib/jaxb-xjc-2.1.7.jar"/>
<classpathentry kind="lib" path="lib/jaxen-1.1.6.jar"/>
<classpathentry kind="lib" path="lib/jaxws-tools-2.1.3.jar"/>
<classpathentry kind="lib" path="lib/jdom.jar"/>
<classpathentry kind="lib" path="lib/jettison-1.0-RC2.jar"/>
<classpathentry kind="lib" path="lib/jibx-bind-1.2.jar"/>
<classpathentry kind="lib" path="lib/jibx-run-1.2.jar"/>
<classpathentry kind="lib" path="lib/json-lib-2.2.2-jdk15.jar"/>
<classpathentry kind="lib" path="lib/json-lib-2.2.3-jdk13.jar"/>
<classpathentry kind="lib" path="lib/jsr311-api-1.0.jar"/>
<classpathentry kind="lib" path="lib/juli-6.0.16.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.15.jar"/>
<classpathentry kind="lib" path="lib/mail-1.4.jar"/>
<classpathentry kind="lib" path="lib/mex-1.6.2-impl.jar"/>
<classpathentry kind="lib" path="lib/neethi-3.0.2.jar"/>
<classpathentry kind="lib" path="lib/ojdbc6.jar"/>
<classpathentry kind="lib" path="lib/regexp-1.2.jar"/>
<classpathentry kind="lib" path="lib/tribes-6.0.16.jar"/>
<classpathentry kind="lib" path="lib/woden-api-1.0M9.jar"/>
<classpathentry kind="lib" path="lib/woden-impl-commons-1.0M9.jar"/>
<classpathentry kind="lib" path="lib/woden-impl-dom-1.0M9.jar"/>
<classpathentry kind="lib" path="lib/wsdl4j-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/wstx-asl-3.2.9.jar"/>
<classpathentry kind="lib" path="lib/xalan-2.7.0.jar"/>
<classpathentry kind="lib" path="lib/xml-resolver-1.2.jar"/>
<classpathentry kind="lib" path="lib/xmlbeans-2.3.0.jar"/>
<classpathentry kind="lib" path="lib/XmlSchema-1.4.7.jar"/>
<classpathentry kind="lib" path="lib/jxl.jar"/>
<classpathentry kind="lib" path="lib/Spire.Xls.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/org.eclipse.osgi.services.nl_12000.2.0.jar"/>
<classpathentry kind="lib" path="lib/org.eclipse.osgi.services_3.7.100.v20180827-1536.jar"/>
<classpathentry kind="lib" path="lib/cn.com.origin.autocodemanager_1.0.0.jar"/>
<classpathentry kind="lib" path="lib/cn.com.origin.autocode_1.0.0.jar" sourcepath="D:/eclipse/workspacejune24/6.21/com.connor.dfl.plm/lib/cn.com.origin.autocode_1.0.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.connor.dfl.plm</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

2
bin/.gitignore vendored

@ -0,0 +1,2 @@
/com/
/syn/

@ -0,0 +1,93 @@
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
icons/,\
lib/activation-1.1.jar,\
lib/antlr-2.7.7.jar,\
lib/apache-commons-codec-1.4.jar,\
lib/apache-mime4j-core-0.7.2.jar,\
lib/axiom-api-1.2.13.jar,\
lib/axiom-dom-1.2.13.jar,\
lib/axiom-impl-1.2.13.jar,\
lib/axis2-adb-1.6.2.jar,\
lib/axis2-adb-codegen-1.6.2.jar,\
lib/axis2-ant-plugin-1.6.2.jar,\
lib/axis2-clustering-1.6.2.jar,\
lib/axis2-codegen-1.6.2.jar,\
lib/axis2-corba-1.6.2.jar,\
lib/axis2-fastinfoset-1.6.2.jar,\
lib/axis2-java2wsdl-1.6.2.jar,\
lib/axis2-jaxbri-1.6.2.jar,\
lib/axis2-jaxws-1.6.2.jar,\
lib/axis2-jibx-1.6.2.jar,\
lib/axis2-json-1.6.2.jar,\
lib/axis2-kernel-1.6.2.jar,\
lib/axis2-metadata-1.6.2.jar,\
lib/axis2-mtompolicy-1.6.2.jar,\
lib/axis2-saaj-1.6.2.jar,\
lib/axis2-soapmonitor-servlet-1.6.2.jar,\
lib/axis2-spring-1.6.2.jar,\
lib/axis2-transport-http-1.6.2.jar,\
lib/axis2-transport-local-1.6.2.jar,\
lib/axis2-xmlbeans-1.6.2.jar,\
lib/bcel-5.1.jar,\
lib/commons-beanutils-1.7.0.jar,\
lib/commons-cli-1.2.jar,\
lib/commons-codec-1.3.jar,\
lib/commons-collections-3.2.jar,\
lib/commons-fileupload-1.2.jar,\
lib/commons-httpclient-3.1.jar,\
lib/commons-io-1.4.jar,\
lib/commons-lang-2.4.jar,\
lib/commons-logging-1.1.1.jar,\
lib/commons-logging-1.1.jar,\
lib/dom4j-1.6.1.jar,\
lib/ezmorph-1.0.4.jar,\
lib/geronimo-annotation_1.0_spec-1.1.jar,\
lib/geronimo-jaxws_2.2_spec-1.0.jar,\
lib/geronimo-jta_1.1_spec-1.1.jar,\
lib/geronimo-saaj_1.3_spec-1.0.1.jar,\
lib/geronimo-stax-api_1.0_spec-1.0.1.jar,\
lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar,\
lib/httpcore-4.0.jar,\
lib/itext-2.0.3.jar,\
lib/iText-5.0.2.jar,\
lib/iTextAsian.jar,\
lib/jalopy-1.5rc3.jar,\
lib/jaxb-api-2.1.jar,\
lib/jaxb-impl-2.1.7.jar,\
lib/jaxb-xjc-2.1.7.jar,\
lib/jaxen-1.1.6.jar,\
lib/jaxws-tools-2.1.3.jar,\
lib/jdom.jar,\
lib/jettison-1.0-RC2.jar,\
lib/jibx-bind-1.2.jar,\
lib/jibx-run-1.2.jar,\
lib/json-lib-2.2.2-jdk15.jar,\
lib/json-lib-2.2.3-jdk13.jar,\
lib/jsr311-api-1.0.jar,\
lib/juli-6.0.16.jar,\
lib/log4j-1.2.15.jar,\
lib/mail-1.4.jar,\
lib/mex-1.6.2-impl.jar,\
lib/neethi-3.0.2.jar,\
lib/ojdbc6.jar,\
lib/regexp-1.2.jar,\
lib/tribes-6.0.16.jar,\
lib/woden-api-1.0M9.jar,\
lib/woden-impl-commons-1.0M9.jar,\
lib/woden-impl-dom-1.0M9.jar,\
lib/wsdl4j-1.6.2.jar,\
lib/wstx-asl-3.2.9.jar,\
lib/xalan-2.7.0.jar,\
lib/xml-resolver-1.2.jar,\
lib/xmlbeans-2.3.0.jar,\
lib/XmlSchema-1.4.7.jar,\
lib/jxl.jar,\
lib/org.eclipse.osgi.services_3.7.100.v20180827-1536.jar,\
lib/Spire.Xls.jar,\
lib/org.eclipse.osgi.services.nl_12000.2.0.jar,\
lib/cn.com.origin.autocode_1.0.0.jar,\
lib/cn.com.origin.autocodemanager_1.0.0.jar

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -0,0 +1,35 @@
K 25
svn:wc:ra_dav:version-url
V 92
/svn/dongfang/!svn/ver/13/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp
END
MappingAttribute.java
K 25
svn:wc:ra_dav:version-url
V 114
/svn/dongfang/!svn/ver/13/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp/MappingAttribute.java
END
ImportFlex.java
K 25
svn:wc:ra_dav:version-url
V 108
/svn/dongfang/!svn/ver/34/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp/ImportFlex.java
END
ImportSettings.java
K 25
svn:wc:ra_dav:version-url
V 112
/svn/dongfang/!svn/ver/13/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp/ImportSettings.java
END
AbstractImportCommand.java
K 25
svn:wc:ra_dav:version-url
V 119
/svn/dongfang/!svn/ver/13/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp/AbstractImportCommand.java
END
AbstractImportDialog.java
K 25
svn:wc:ra_dav:version-url
V 118
/svn/dongfang/!svn/ver/13/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp/AbstractImportDialog.java
END

@ -0,0 +1,216 @@
10
dir
13
http://192.168.0.254:8080/svn/dongfang/Java%E4%BB%A3%E7%A0%81/TCImportHistoryDatas/src/com/origin/dev/imp
http://192.168.0.254:8080/svn/dongfang
2011-11-09T09:34:29.065079Z
13
liqz
d5545a61-9634-c849-9c05-96e4e3e25a21
MappingAttribute.java
file
2011-07-06T04:02:28.125000Z
1618f2675f53fcfc915707ff45a697d7
2011-11-09T09:34:29.065079Z
13
liqz
1281
ob
dir
images
dir
toolkit
dir
re
dir
ImportFlex.java
file
34
2011-11-29T10:16:29.562500Z
2a6c25a0005e02c27cdc87fa23c55541
2011-12-31T02:38:28.156481Z
34
liqz
80780
ImportSettings.java
file
2011-07-06T04:02:28.125000Z
b306dc85134af1300dd7ef0bae595a4f
2011-11-09T09:34:29.065079Z
13
liqz
1909
solution
dir
AbstractImportCommand.java
file
2011-07-06T04:02:28.109375Z
f5b9128d78bc69ca6ed038332ff5408a
2011-11-09T09:34:29.065079Z
13
liqz
1828
bom
dir
AbstractImportDialog.java
file
2011-08-26T06:26:48.187500Z
2230a1f79ce6438ac604d77ae91da590
2011-11-09T09:34:29.065079Z
13
liqz
18710

@ -0,0 +1,65 @@
package com.origin.dev.imp;
import com.origin.dev.imp.ob.ImportObjectsCommand;
import com.origin.dev.imp.toolkit.ProgressReporter;
import com.teamcenter.rac.aif.AbstractAIFCommand;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponentFolder;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
public abstract class AbstractImportCommand extends AbstractAIFCommand
{
protected TCSession session;
public AbstractImportCommand(AbstractAIFUIApplication application)
{
this.session = (TCSession) application.getSession();
processImporting();
}
private void processImporting()
{
InterfaceAIFComponent targetCom = AIFUtility.getCurrentApplication().getTargetComponent();
// 如果在选择导入功能前选中了某个已有文件夹
if (this instanceof ImportObjectsCommand)
{
if (!(targetCom instanceof TCComponentFolder))
{
MessageBox msg = new MessageBox("导入失败", "提示:\n请您先选择对象导入的文件夹然后再执行导入\n", "执行错误", 1, true);
msg.setVisible(true);
return;
}
}
final ProgressReporter reporter = new ProgressReporter();
reporter.reportProgressMessage("正在初始化界面,请稍候...");
new Thread(reporter).start();
new Thread(new Runnable()
{
public void run()
{
while (!reporter.isRequestCanceling())
{
reporter.setProgressPercent(reporter.getProgess() + 5);
try
{
Thread.sleep(500);
}
catch (InterruptedException e)
{
continue;
}
}
}
}).start();
importHistoryDatas();
reporter.requestCanceling();
}
protected abstract void importHistoryDatas();
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save