diff --git a/cn.com.origin.autocode/.classpath b/cn.com.origin.autocode/.classpath new file mode 100644 index 0000000..6c0ea46 --- /dev/null +++ b/cn.com.origin.autocode/.classpath @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cn.com.origin.autocode/.project b/cn.com.origin.autocode/.project new file mode 100644 index 0000000..d7191b4 --- /dev/null +++ b/cn.com.origin.autocode/.project @@ -0,0 +1,28 @@ + + + cn.com.origin.autocode + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/cn.com.origin.autocode/META-INF/MANIFEST.MF b/cn.com.origin.autocode/META-INF/MANIFEST.MF new file mode 100644 index 0000000..922827c --- /dev/null +++ b/cn.com.origin.autocode/META-INF/MANIFEST.MF @@ -0,0 +1,903 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Autocode Plug-in +Bundle-SymbolicName: cn.com.origin.autocode;singleton:=true +Bundle-Version: 1.0.0 +Bundle-Activator: cn.com.origin.autocode.Activator +Require-Bundle: org.eclipse.ui;bundle-version="3.111.0", + org.eclipse.core.runtime;bundle-version="3.15.100", + cn.com.origin.autocodemanager;bundle-version="1.0.0", + com.teamcenter.rac.aifrcp;bundle-version="12000.2.0", + com.teamcenter.rac.common;bundle-version="12000.2.0", + com.teamcenter.rac.external;bundle-version="12000.2.0", + com.teamcenter.rac.kernel;bundle-version="12000.2.0", + com.teamcenter.rac.tcapps;bundle-version="12000.2.0", + com.teamcenter.rac.util;bundle-version="12000.2.0", + icctstubs;bundle-version="12000.2.0", + org.eclipse.ui.forms;bundle-version="3.5.200", + TcSoaCadRac;bundle-version="12000.2.0", + TcSoaClient;bundle-version="12000.2.0", + TcSoaCommon;bundle-version="12000.2.0", + TcSoaCoreRac;bundle-version="12000.2.0", + com.teamcenter.rac.classification.icadmin;bundle-version="12000.2.0", + TcSoaCoreTypes;bundle-version="12000.2.0", + com.teamcenter.rac.classification.icm;bundle-version="12000.2.0", + com.teamcenter.rac.cme.mpp;bundle-version="12000.2.0", + com.teamcenter.rac.ui;bundle-version="12000.2.0", + com.teamcenter.rac.ui.commands;bundle-version="12000.2.0", + org.eclipse.osgi.services;bundle-version="3.7.100", + org.eclipse.osgi.util;bundle-version="3.5.100" +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: ., + antlr, + antlr.ASdebug, + antlr.actions.cpp, + antlr.actions.csharp, + antlr.actions.java, + antlr.actions.python, + antlr.build, + antlr.collections, + antlr.collections.impl, + antlr.debug, + antlr.debug.misc, + antlr.preprocessor, + cn.com.origin.autocode, + cn.com.origin.autocode.classification, + cn.com.origin.autocode.classification.panels, + cn.com.origin.autocode.common, + cn.com.origin.autocode.common.operations, + cn.com.origin.autocode.handlers, + cn.com.origin.autocode.jfom.util, + cn.com.origin.autocode.newitem.generatcode, + cn.com.origin.autocode.newitem.origin, + cn.com.origin.autocode.newitem.system, + cn.com.origin.autocode.saveas, + cn.com.origin.autocode.views, + cn.com.origin.autocode.views.codeview, + cn.com.origin.autocode.views.groupview, + cn.com.origin.autocode.views.itemtypeview, + cn.com.origin.autocode.xmlutil, + com.ctc.wstx.api, + com.ctc.wstx.cfg, + com.ctc.wstx.compat, + com.ctc.wstx.dom, + com.ctc.wstx.dtd, + com.ctc.wstx.ent, + com.ctc.wstx.evt, + com.ctc.wstx.exc, + com.ctc.wstx.io, + com.ctc.wstx.msv, + com.ctc.wstx.sax, + com.ctc.wstx.sr, + com.ctc.wstx.stax, + com.ctc.wstx.sw, + com.ctc.wstx.util, + com.ibm.wsdl, + com.ibm.wsdl.extensions, + com.ibm.wsdl.extensions.http, + com.ibm.wsdl.extensions.mime, + com.ibm.wsdl.extensions.schema, + com.ibm.wsdl.extensions.soap, + com.ibm.wsdl.extensions.soap12, + com.ibm.wsdl.factory, + com.ibm.wsdl.util, + com.ibm.wsdl.util.xml, + com.ibm.wsdl.xml, + com.sun.activation.registries, + com.sun.activation.viewers, + com.sun.codemodel, + com.sun.codemodel.fmt, + com.sun.codemodel.util, + com.sun.codemodel.writer, + com.sun.dtdparser, + com.sun.istack, + com.sun.istack.localization, + com.sun.istack.tools, + com.sun.istack.ws, + com.sun.mail.handlers, + com.sun.mail.iap, + com.sun.mail.imap, + com.sun.mail.imap.protocol, + com.sun.mail.pop3, + com.sun.mail.smtp, + com.sun.mail.util, + com.sun.org.apache.xml.internal.resolver, + com.sun.org.apache.xml.internal.resolver.helpers, + com.sun.org.apache.xml.internal.resolver.readers, + com.sun.org.apache.xml.internal.resolver.tools, + com.sun.tools.jxc, + com.sun.tools.jxc.apt, + com.sun.tools.jxc.gen.config, + com.sun.tools.jxc.model.nav, + com.sun.tools.resourcegen, + com.sun.tools.ws, + com.sun.tools.ws.ant, + com.sun.tools.ws.api, + com.sun.tools.ws.api.wsdl, + com.sun.tools.ws.processor, + com.sun.tools.ws.processor.generator, + com.sun.tools.ws.processor.model, + com.sun.tools.ws.processor.model.exporter, + com.sun.tools.ws.processor.model.java, + com.sun.tools.ws.processor.model.jaxb, + com.sun.tools.ws.processor.modeler, + com.sun.tools.ws.processor.modeler.annotation, + com.sun.tools.ws.processor.modeler.wsdl, + com.sun.tools.ws.processor.util, + com.sun.tools.ws.resources, + com.sun.tools.ws.spi, + com.sun.tools.ws.util, + com.sun.tools.ws.util.xml, + com.sun.tools.ws.wscompile, + com.sun.tools.ws.wsdl.document, + com.sun.tools.ws.wsdl.document.http, + com.sun.tools.ws.wsdl.document.jaxws, + com.sun.tools.ws.wsdl.document.mime, + com.sun.tools.ws.wsdl.document.schema, + com.sun.tools.ws.wsdl.document.soap, + com.sun.tools.ws.wsdl.framework, + com.sun.tools.ws.wsdl.parser, + com.sun.tools.xjc, + com.sun.tools.xjc.addon.at_generated, + com.sun.tools.xjc.addon.code_injector, + com.sun.tools.xjc.addon.episode, + com.sun.tools.xjc.addon.locator, + com.sun.tools.xjc.addon.sync, + com.sun.tools.xjc.api, + com.sun.tools.xjc.api.impl.j2s, + com.sun.tools.xjc.api.impl.s2j, + com.sun.tools.xjc.api.util, + com.sun.tools.xjc.generator.annotation.ri, + com.sun.tools.xjc.generator.annotation.spec, + com.sun.tools.xjc.generator.bean, + com.sun.tools.xjc.generator.bean.field, + com.sun.tools.xjc.generator.util, + com.sun.tools.xjc.model, + com.sun.tools.xjc.model.nav, + com.sun.tools.xjc.outline, + com.sun.tools.xjc.reader, + com.sun.tools.xjc.reader.dtd, + com.sun.tools.xjc.reader.dtd.bindinfo, + com.sun.tools.xjc.reader.gbind, + com.sun.tools.xjc.reader.internalizer, + com.sun.tools.xjc.reader.relaxng, + com.sun.tools.xjc.reader.xmlschema, + com.sun.tools.xjc.reader.xmlschema.bindinfo, + com.sun.tools.xjc.reader.xmlschema.ct, + com.sun.tools.xjc.reader.xmlschema.parser, + com.sun.tools.xjc.runtime, + com.sun.tools.xjc.util, + com.sun.tools.xjc.writer, + com.sun.xml.bind, + com.sun.xml.bind.annotation, + com.sun.xml.bind.api, + com.sun.xml.bind.api.impl, + com.sun.xml.bind.marshaller, + com.sun.xml.bind.unmarshaller, + com.sun.xml.bind.util, + com.sun.xml.bind.v2, + com.sun.xml.bind.v2.bytecode, + com.sun.xml.bind.v2.model.annotation, + com.sun.xml.bind.v2.model.core, + com.sun.xml.bind.v2.model.impl, + com.sun.xml.bind.v2.model.nav, + com.sun.xml.bind.v2.model.runtime, + com.sun.xml.bind.v2.runtime, + com.sun.xml.bind.v2.runtime.output, + com.sun.xml.bind.v2.runtime.property, + com.sun.xml.bind.v2.runtime.reflect, + com.sun.xml.bind.v2.runtime.reflect.opt, + com.sun.xml.bind.v2.runtime.unmarshaller, + com.sun.xml.bind.v2.schemagen, + com.sun.xml.bind.v2.schemagen.episode, + com.sun.xml.bind.v2.schemagen.xmlschema, + com.sun.xml.bind.v2.util, + com.sun.xml.dtdparser, + com.sun.xml.txw2, + com.sun.xml.txw2.annotation, + com.sun.xml.txw2.output, + com.sun.xml.xsom, + com.sun.xml.xsom.impl, + com.sun.xml.xsom.impl.parser, + com.sun.xml.xsom.impl.parser.state, + com.sun.xml.xsom.impl.scd, + com.sun.xml.xsom.impl.util, + com.sun.xml.xsom.parser, + com.sun.xml.xsom.util, + com.sun.xml.xsom.visitor, + de.hunsicker.io, + de.hunsicker.jalopy, + de.hunsicker.jalopy.language, + de.hunsicker.jalopy.language.antlr, + de.hunsicker.jalopy.plugin, + de.hunsicker.jalopy.prefs, + de.hunsicker.jalopy.printer, + de.hunsicker.jalopy.storage, + de.hunsicker.jalopy.swing, + de.hunsicker.jalopy.swing.syntax, + de.hunsicker.swing, + de.hunsicker.swing.util, + de.hunsicker.util, + de.hunsicker.util.concurrent, + java_cup.runtime, + javax.activation, + javax.annotation, + javax.annotation.security, + javax.jws, + javax.jws.soap, + javax.mail, + javax.mail.event, + javax.mail.internet, + javax.mail.search, + javax.mail.util, + javax.transaction, + javax.transaction.xa, + javax.ws.rs, + javax.ws.rs.core, + javax.ws.rs.ext, + javax.wsdl, + javax.wsdl.extensions, + javax.wsdl.extensions.http, + javax.wsdl.extensions.mime, + javax.wsdl.extensions.schema, + javax.wsdl.extensions.soap, + javax.wsdl.extensions.soap12, + javax.wsdl.factory, + javax.wsdl.xml, + javax.xml.bind, + javax.xml.bind.annotation, + javax.xml.bind.annotation.adapters, + javax.xml.bind.attachment, + javax.xml.bind.helpers, + javax.xml.bind.util, + javax.xml.soap, + javax.xml.stream, + javax.xml.stream.events, + javax.xml.stream.util, + javax.xml.ws, + javax.xml.ws.handler, + javax.xml.ws.handler.soap, + javax.xml.ws.http, + javax.xml.ws.soap, + javax.xml.ws.spi, + javax.xml.ws.spi.http, + javax.xml.ws.wsaddressing, + net.sf.ezmorph, + net.sf.ezmorph.array, + net.sf.ezmorph.bean, + net.sf.ezmorph.object, + net.sf.ezmorph.primitive, + net.sf.ezmorph.test, + net.sf.json, + net.sf.json.filters, + net.sf.json.groovy, + net.sf.json.processors, + net.sf.json.regexp, + net.sf.json.test, + net.sf.json.util, + net.sf.json.xml, + org.apache.axiom.attachments, + org.apache.axiom.attachments.impl, + org.apache.axiom.attachments.lifecycle, + org.apache.axiom.attachments.lifecycle.impl, + org.apache.axiom.attachments.utils, + org.apache.axiom.ext.activation, + org.apache.axiom.ext.io, + org.apache.axiom.ext.stax, + org.apache.axiom.ext.stax.datahandler, + org.apache.axiom.locator, + org.apache.axiom.locator.loader, + org.apache.axiom.mime, + org.apache.axiom.mime.impl.axiom, + org.apache.axiom.mime.impl.javamail, + org.apache.axiom.om, + org.apache.axiom.om.dom, + org.apache.axiom.om.ds, + org.apache.axiom.om.ds.custombuilder, + org.apache.axiom.om.impl, + org.apache.axiom.om.impl.builder, + org.apache.axiom.om.impl.dom, + org.apache.axiom.om.impl.dom.factory, + org.apache.axiom.om.impl.dom.jaxp, + org.apache.axiom.om.impl.exception, + org.apache.axiom.om.impl.jaxp, + org.apache.axiom.om.impl.llom, + org.apache.axiom.om.impl.llom.factory, + org.apache.axiom.om.impl.llom.util, + org.apache.axiom.om.impl.serialize, + org.apache.axiom.om.impl.traverse, + org.apache.axiom.om.impl.util, + org.apache.axiom.om.util, + org.apache.axiom.om.xpath, + org.apache.axiom.soap, + org.apache.axiom.soap.impl.builder, + org.apache.axiom.soap.impl.dom, + org.apache.axiom.soap.impl.dom.factory, + org.apache.axiom.soap.impl.dom.soap11, + org.apache.axiom.soap.impl.dom.soap12, + org.apache.axiom.soap.impl.llom, + org.apache.axiom.soap.impl.llom.soap11, + org.apache.axiom.soap.impl.llom.soap12, + org.apache.axiom.util, + org.apache.axiom.util.activation, + org.apache.axiom.util.base64, + org.apache.axiom.util.blob, + org.apache.axiom.util.namespace, + org.apache.axiom.util.sax, + org.apache.axiom.util.stax, + org.apache.axiom.util.stax.debug, + org.apache.axiom.util.stax.dialect, + org.apache.axiom.util.stax.wrapper, + org.apache.axiom.util.stax.xop, + org.apache.axis2, + org.apache.axis2.addressing, + org.apache.axis2.addressing.i18n, + org.apache.axis2.addressing.metadata, + org.apache.axis2.addressing.wsdl, + org.apache.axis2.builder, + org.apache.axis2.builder.unknowncontent, + org.apache.axis2.classloader, + org.apache.axis2.client, + org.apache.axis2.client.async, + org.apache.axis2.clustering, + org.apache.axis2.clustering.control, + org.apache.axis2.clustering.control.wka, + org.apache.axis2.clustering.management, + org.apache.axis2.clustering.management.commands, + org.apache.axis2.clustering.state, + org.apache.axis2.clustering.state.commands, + org.apache.axis2.clustering.tribes, + org.apache.axis2.context, + org.apache.axis2.context.externalize, + org.apache.axis2.corba.deployer, + org.apache.axis2.corba.exceptions, + org.apache.axis2.corba.idl, + org.apache.axis2.corba.idl.parser, + org.apache.axis2.corba.idl.types, + org.apache.axis2.corba.idl.values, + org.apache.axis2.corba.receivers, + org.apache.axis2.databinding, + org.apache.axis2.databinding.i18n, + org.apache.axis2.databinding.typemapping, + org.apache.axis2.databinding.types, + org.apache.axis2.databinding.types.soapencoding, + org.apache.axis2.databinding.types.xsd, + org.apache.axis2.databinding.utils, + org.apache.axis2.databinding.utils.reader, + org.apache.axis2.databinding.utils.writer, + org.apache.axis2.dataretrieval, + org.apache.axis2.dataretrieval.client, + org.apache.axis2.datasource, + org.apache.axis2.datasource.jaxb, + org.apache.axis2.deployment, + org.apache.axis2.deployment.repository.util, + org.apache.axis2.deployment.resolver, + org.apache.axis2.deployment.scheduler, + org.apache.axis2.deployment.util, + org.apache.axis2.description, + org.apache.axis2.description.java2wsdl, + org.apache.axis2.description.java2wsdl.bytecode, + org.apache.axis2.dispatchers, + org.apache.axis2.engine, + org.apache.axis2.extensions.spring.receivers, + org.apache.axis2.fastinfoset, + org.apache.axis2.handlers, + org.apache.axis2.i18n, + org.apache.axis2.java.security, + org.apache.axis2.jaxbri, + org.apache.axis2.jaxrs, + org.apache.axis2.jaxws, + org.apache.axis2.jaxws.addressing, + org.apache.axis2.jaxws.addressing.factory, + org.apache.axis2.jaxws.addressing.factory.impl, + org.apache.axis2.jaxws.addressing.migrator, + org.apache.axis2.jaxws.addressing.util, + org.apache.axis2.jaxws.api, + org.apache.axis2.jaxws.binding, + org.apache.axis2.jaxws.catalog, + org.apache.axis2.jaxws.catalog.impl, + org.apache.axis2.jaxws.client, + org.apache.axis2.jaxws.client.async, + org.apache.axis2.jaxws.client.config, + org.apache.axis2.jaxws.client.dispatch, + org.apache.axis2.jaxws.client.proxy, + org.apache.axis2.jaxws.common.config, + org.apache.axis2.jaxws.context, + org.apache.axis2.jaxws.context.factory, + org.apache.axis2.jaxws.context.listener, + org.apache.axis2.jaxws.context.utils, + org.apache.axis2.jaxws.core, + org.apache.axis2.jaxws.core.controller, + org.apache.axis2.jaxws.core.controller.impl, + org.apache.axis2.jaxws.core.util, + org.apache.axis2.jaxws.description, + org.apache.axis2.jaxws.description.builder, + org.apache.axis2.jaxws.description.builder.converter, + org.apache.axis2.jaxws.description.impl, + org.apache.axis2.jaxws.description.validator, + org.apache.axis2.jaxws.description.xml.handler, + org.apache.axis2.jaxws.dispatchers, + org.apache.axis2.jaxws.feature, + org.apache.axis2.jaxws.framework, + org.apache.axis2.jaxws.handler, + org.apache.axis2.jaxws.handler.factory, + org.apache.axis2.jaxws.handler.factory.impl, + org.apache.axis2.jaxws.handler.impl, + org.apache.axis2.jaxws.handler.lifecycle.factory, + org.apache.axis2.jaxws.handler.lifecycle.impl, + org.apache.axis2.jaxws.i18n, + org.apache.axis2.jaxws.injection, + org.apache.axis2.jaxws.lifecycle, + org.apache.axis2.jaxws.marshaller, + org.apache.axis2.jaxws.marshaller.factory, + org.apache.axis2.jaxws.marshaller.impl.alt, + org.apache.axis2.jaxws.message, + org.apache.axis2.jaxws.message.attachments, + org.apache.axis2.jaxws.message.databinding, + org.apache.axis2.jaxws.message.databinding.impl, + org.apache.axis2.jaxws.message.factory, + org.apache.axis2.jaxws.message.impl, + org.apache.axis2.jaxws.message.util, + org.apache.axis2.jaxws.message.util.impl, + org.apache.axis2.jaxws.registry, + org.apache.axis2.jaxws.runtime.description.injection, + org.apache.axis2.jaxws.runtime.description.injection.impl, + org.apache.axis2.jaxws.runtime.description.marshal, + org.apache.axis2.jaxws.runtime.description.marshal.impl, + org.apache.axis2.jaxws.server, + org.apache.axis2.jaxws.server.config, + org.apache.axis2.jaxws.server.dispatcher, + org.apache.axis2.jaxws.server.dispatcher.factory, + org.apache.axis2.jaxws.server.endpoint, + org.apache.axis2.jaxws.server.endpoint.injection, + org.apache.axis2.jaxws.server.endpoint.injection.factory, + org.apache.axis2.jaxws.server.endpoint.injection.impl, + org.apache.axis2.jaxws.server.endpoint.lifecycle, + org.apache.axis2.jaxws.server.endpoint.lifecycle.factory, + org.apache.axis2.jaxws.server.endpoint.lifecycle.factory.impl, + org.apache.axis2.jaxws.server.endpoint.lifecycle.impl, + org.apache.axis2.jaxws.spi, + org.apache.axis2.jaxws.spi.handler, + org.apache.axis2.jaxws.spi.migrator, + org.apache.axis2.jaxws.util, + org.apache.axis2.jaxws.utility, + org.apache.axis2.jaxws.wrapper, + org.apache.axis2.jaxws.wrapper.impl, + org.apache.axis2.jaxws.wsdl, + org.apache.axis2.jaxws.wsdl.impl, + org.apache.axis2.jibx, + org.apache.axis2.json, + org.apache.axis2.jsr181, + org.apache.axis2.metadata.factory, + org.apache.axis2.metadata.registry, + org.apache.axis2.metadata.resource, + org.apache.axis2.metadata.resource.impl, + org.apache.axis2.mex, + org.apache.axis2.mex.om, + org.apache.axis2.mex.util, + org.apache.axis2.modules, + org.apache.axis2.namespace, + org.apache.axis2.phaseresolver, + org.apache.axis2.policy.builders, + org.apache.axis2.policy.model, + org.apache.axis2.receivers, + org.apache.axis2.rpc.client, + org.apache.axis2.rpc.receivers, + org.apache.axis2.rpc.receivers.ejb, + org.apache.axis2.saaj, + org.apache.axis2.saaj.util, + org.apache.axis2.schema, + org.apache.axis2.schema.i18n, + org.apache.axis2.schema.typemap, + org.apache.axis2.schema.util, + org.apache.axis2.schema.writer, + org.apache.axis2.service, + org.apache.axis2.soapmonitor.applet, + org.apache.axis2.soapmonitor.servlet, + org.apache.axis2.tool.ant, + org.apache.axis2.transaction, + org.apache.axis2.transport, + org.apache.axis2.transport.http, + org.apache.axis2.transport.http.server, + org.apache.axis2.transport.http.util, + org.apache.axis2.transport.java, + org.apache.axis2.transport.local, + org.apache.axis2.util, + org.apache.axis2.util.threadpool, + org.apache.axis2.wsdl, + org.apache.axis2.wsdl.codegen, + org.apache.axis2.wsdl.codegen.emitter, + org.apache.axis2.wsdl.codegen.emitter.jaxws, + org.apache.axis2.wsdl.codegen.extension, + org.apache.axis2.wsdl.codegen.schema, + org.apache.axis2.wsdl.codegen.schema.exception, + org.apache.axis2.wsdl.codegen.writer, + org.apache.axis2.wsdl.databinding, + org.apache.axis2.wsdl.i18n, + org.apache.axis2.wsdl.util, + org.apache.axis2.xmlbeans, + org.apache.bcel, + org.apache.bcel.classfile, + org.apache.bcel.generic, + org.apache.bcel.util, + org.apache.bcel.verifier, + org.apache.bcel.verifier.exc, + org.apache.bcel.verifier.statics, + org.apache.bcel.verifier.structurals, + org.apache.catalina.tribes, + org.apache.catalina.tribes.group, + org.apache.catalina.tribes.group.interceptors, + org.apache.catalina.tribes.io, + org.apache.catalina.tribes.membership, + org.apache.catalina.tribes.tipis, + org.apache.catalina.tribes.transport, + org.apache.catalina.tribes.transport.bio, + org.apache.catalina.tribes.transport.bio.util, + org.apache.catalina.tribes.transport.nio, + org.apache.catalina.tribes.util, + org.apache.commons.beanutils, + org.apache.commons.beanutils.converters, + org.apache.commons.beanutils.locale, + org.apache.commons.beanutils.locale.converters, + org.apache.commons.cli, + org.apache.commons.codec, + org.apache.commons.codec.binary, + org.apache.commons.codec.digest, + org.apache.commons.codec.language, + org.apache.commons.codec.net, + org.apache.commons.collections, + org.apache.commons.collections.bag, + org.apache.commons.collections.bidimap, + org.apache.commons.collections.buffer, + org.apache.commons.collections.collection, + org.apache.commons.collections.comparators, + org.apache.commons.collections.functors, + org.apache.commons.collections.iterators, + org.apache.commons.collections.keyvalue, + org.apache.commons.collections.list, + org.apache.commons.collections.map, + org.apache.commons.collections.set, + org.apache.commons.fileupload, + org.apache.commons.fileupload.disk, + org.apache.commons.fileupload.portlet, + org.apache.commons.fileupload.servlet, + org.apache.commons.fileupload.util, + org.apache.commons.httpclient, + org.apache.commons.httpclient.auth, + org.apache.commons.httpclient.cookie, + org.apache.commons.httpclient.methods, + org.apache.commons.httpclient.methods.multipart, + org.apache.commons.httpclient.params, + org.apache.commons.httpclient.protocol, + org.apache.commons.httpclient.util, + org.apache.commons.io, + org.apache.commons.io.comparator, + org.apache.commons.io.filefilter, + org.apache.commons.io.input, + org.apache.commons.io.output, + org.apache.commons.lang, + org.apache.commons.lang.builder, + org.apache.commons.lang.enums, + org.apache.commons.lang.exception, + org.apache.commons.lang.math, + org.apache.commons.lang.mutable, + org.apache.commons.lang.text, + org.apache.commons.lang.time, + org.apache.commons.logging, + org.apache.commons.logging.impl, + org.apache.geronimo.osgi.locator, + org.apache.http, + org.apache.http.entity, + org.apache.http.impl, + org.apache.http.impl.entity, + org.apache.http.impl.io, + org.apache.http.io, + org.apache.http.message, + org.apache.http.params, + org.apache.http.protocol, + org.apache.http.util, + org.apache.james.mime4j, + org.apache.james.mime4j.codec, + org.apache.james.mime4j.io, + org.apache.james.mime4j.parser, + org.apache.james.mime4j.stream, + org.apache.james.mime4j.util, + org.apache.juli, + org.apache.juli.logging, + org.apache.log4j, + org.apache.log4j.chainsaw, + org.apache.log4j.config, + org.apache.log4j.helpers, + org.apache.log4j.jdbc, + org.apache.log4j.jmx, + org.apache.log4j.lf5, + org.apache.log4j.lf5.util, + org.apache.log4j.lf5.viewer, + org.apache.log4j.lf5.viewer.categoryexplorer, + org.apache.log4j.lf5.viewer.configure, + org.apache.log4j.net, + org.apache.log4j.nt, + org.apache.log4j.or, + org.apache.log4j.or.jms, + org.apache.log4j.or.sax, + org.apache.log4j.spi, + org.apache.log4j.varia, + org.apache.log4j.xml, + org.apache.neethi, + org.apache.neethi.builders, + org.apache.neethi.builders.converters, + org.apache.neethi.builders.xml, + org.apache.neethi.util, + org.apache.regexp, + org.apache.woden, + org.apache.woden.internal, + org.apache.woden.internal.resolver, + org.apache.woden.internal.schema, + org.apache.woden.internal.util, + org.apache.woden.internal.util.dom, + org.apache.woden.internal.wsdl20, + org.apache.woden.internal.wsdl20.assertions, + org.apache.woden.internal.wsdl20.extensions, + org.apache.woden.internal.wsdl20.extensions.http, + org.apache.woden.internal.wsdl20.extensions.rpc, + org.apache.woden.internal.wsdl20.extensions.soap, + org.apache.woden.internal.wsdl20.validation, + org.apache.woden.internal.xml, + org.apache.woden.internal.xpointer, + org.apache.woden.resolver, + org.apache.woden.schema, + org.apache.woden.types, + org.apache.woden.wsdl20, + org.apache.woden.wsdl20.enumeration, + org.apache.woden.wsdl20.extensions, + org.apache.woden.wsdl20.extensions.http, + org.apache.woden.wsdl20.extensions.rpc, + org.apache.woden.wsdl20.extensions.soap, + org.apache.woden.wsdl20.fragids, + org.apache.woden.wsdl20.validation, + org.apache.woden.wsdl20.xml, + org.apache.woden.xml, + org.apache.woden.xpointer, + org.apache.ws.commons.schema, + org.apache.ws.commons.schema.constants, + org.apache.ws.commons.schema.extensions, + org.apache.ws.commons.schema.resolver, + org.apache.ws.commons.schema.tools, + org.apache.ws.commons.schema.utils, + org.apache.ws.java2wsdl, + org.apache.ws.java2wsdl.utils, + org.apache.xalan, + org.apache.xalan.client, + org.apache.xalan.extensions, + org.apache.xalan.lib, + org.apache.xalan.lib.sql, + org.apache.xalan.processor, + org.apache.xalan.res, + org.apache.xalan.serialize, + org.apache.xalan.templates, + org.apache.xalan.trace, + org.apache.xalan.transformer, + org.apache.xalan.xslt, + org.apache.xalan.xsltc, + org.apache.xalan.xsltc.cmdline, + org.apache.xalan.xsltc.cmdline.getopt, + org.apache.xalan.xsltc.compiler, + org.apache.xalan.xsltc.compiler.util, + org.apache.xalan.xsltc.dom, + org.apache.xalan.xsltc.runtime, + org.apache.xalan.xsltc.runtime.output, + org.apache.xalan.xsltc.trax, + org.apache.xalan.xsltc.util, + org.apache.xml.dtm, + org.apache.xml.dtm.ref, + org.apache.xml.dtm.ref.dom2dtm, + org.apache.xml.dtm.ref.sax2dtm, + org.apache.xml.res, + org.apache.xml.resolver, + org.apache.xml.resolver.apps, + org.apache.xml.resolver.helpers, + org.apache.xml.resolver.readers, + org.apache.xml.resolver.tools, + org.apache.xml.serializer, + org.apache.xml.serializer.utils, + org.apache.xml.utils, + org.apache.xml.utils.res, + org.apache.xmlbeans, + org.apache.xmlbeans.impl.common, + org.apache.xmlbeans.impl.config, + org.apache.xmlbeans.impl.inst2xsd, + org.apache.xmlbeans.impl.inst2xsd.util, + org.apache.xmlbeans.impl.jam, + org.apache.xmlbeans.impl.jam.annotation, + org.apache.xmlbeans.impl.jam.internal, + org.apache.xmlbeans.impl.jam.internal.classrefs, + org.apache.xmlbeans.impl.jam.internal.elements, + org.apache.xmlbeans.impl.jam.internal.javadoc, + org.apache.xmlbeans.impl.jam.internal.parser, + org.apache.xmlbeans.impl.jam.internal.reflect, + org.apache.xmlbeans.impl.jam.mutable, + org.apache.xmlbeans.impl.jam.provider, + org.apache.xmlbeans.impl.jam.visitor, + org.apache.xmlbeans.impl.jam.xml, + org.apache.xmlbeans.impl.piccolo.io, + org.apache.xmlbeans.impl.piccolo.util, + org.apache.xmlbeans.impl.piccolo.xml, + org.apache.xmlbeans.impl.regex, + org.apache.xmlbeans.impl.richParser, + org.apache.xmlbeans.impl.schema, + org.apache.xmlbeans.impl.soap, + org.apache.xmlbeans.impl.store, + org.apache.xmlbeans.impl.tool, + org.apache.xmlbeans.impl.util, + org.apache.xmlbeans.impl.validator, + org.apache.xmlbeans.impl.values, + org.apache.xmlbeans.impl.xb.ltgfmt, + org.apache.xmlbeans.impl.xb.ltgfmt.impl, + org.apache.xmlbeans.impl.xb.substwsdl, + org.apache.xmlbeans.impl.xb.substwsdl.impl, + org.apache.xmlbeans.impl.xb.xmlconfig, + org.apache.xmlbeans.impl.xb.xmlconfig.impl, + org.apache.xmlbeans.impl.xb.xmlschema, + org.apache.xmlbeans.impl.xb.xmlschema.impl, + org.apache.xmlbeans.impl.xb.xsdownload, + org.apache.xmlbeans.impl.xb.xsdownload.impl, + org.apache.xmlbeans.impl.xb.xsdschema, + org.apache.xmlbeans.impl.xb.xsdschema.impl, + org.apache.xmlbeans.impl.xsd2inst, + org.apache.xmlbeans.soap, + org.apache.xmlbeans.xml.stream, + org.apache.xmlbeans.xml.stream.events, + org.apache.xmlbeans.xml.stream.utils, + org.apache.xpath, + org.apache.xpath.axes, + org.apache.xpath.compiler, + org.apache.xpath.domapi, + org.apache.xpath.functions, + org.apache.xpath.jaxp, + org.apache.xpath.objects, + org.apache.xpath.operations, + org.apache.xpath.patterns, + org.apache.xpath.res, + org.codehaus.jettison, + org.codehaus.jettison.badgerfish, + org.codehaus.jettison.json, + org.codehaus.jettison.mapped, + org.codehaus.jettison.util, + org.codehaus.stax2, + org.codehaus.stax2.evt, + org.codehaus.stax2.io, + org.codehaus.stax2.ri, + org.codehaus.stax2.validation, + org.jaxen, + org.jaxen.dom, + org.jaxen.dom4j, + org.jaxen.expr, + org.jaxen.expr.iter, + org.jaxen.function, + org.jaxen.function.ext, + org.jaxen.function.xslt, + org.jaxen.javabean, + org.jaxen.jdom, + org.jaxen.pattern, + org.jaxen.saxpath, + org.jaxen.saxpath.base, + org.jaxen.saxpath.helpers, + org.jaxen.util, + org.jaxen.xom, + org.jdom, + org.jdom.adapters, + org.jdom.filter, + org.jdom.input, + org.jdom.output, + org.jdom.transform, + org.jdom.xpath, + org.jibx.binding, + org.jibx.binding.ant, + org.jibx.binding.classes, + org.jibx.binding.def, + org.jibx.binding.model, + org.jibx.binding.util, + org.jibx.runtime, + org.jibx.runtime.impl, + org.jibx.util, + org.kohsuke.rngom.ast.builder, + org.kohsuke.rngom.ast.om, + org.kohsuke.rngom.ast.util, + org.kohsuke.rngom.binary, + org.kohsuke.rngom.binary.visitor, + org.kohsuke.rngom.digested, + org.kohsuke.rngom.dt, + org.kohsuke.rngom.dt.builtin, + org.kohsuke.rngom.nc, + org.kohsuke.rngom.parse, + org.kohsuke.rngom.parse.compact, + org.kohsuke.rngom.parse.host, + org.kohsuke.rngom.parse.xml, + org.kohsuke.rngom.util, + org.kohsuke.rngom.xml.sax, + org.kohsuke.rngom.xml.util, + org.relaxng.datatype, + org.relaxng.datatype.helpers, + org.w3c.dom, + repackage, + schemaorg_apache_xmlbeans.system.sXMLCONFIG, + schemaorg_apache_xmlbeans.system.sXMLLANG, + schemaorg_apache_xmlbeans.system.sXMLSCHEMA, + schemaorg_apache_xmlbeans.system.sXMLTOOLS +Bundle-ClassPath: json_lib/commons-beanutils-1.7.0.jar, + json_lib/commons-collections-3.2.jar, + json_lib/commons-lang-2.4.jar, + json_lib/commons-logging-1.1.jar, + json_lib/ezmorph-1.0.4.jar, + json_lib/jdom.jar, + json_lib/json-lib-2.2.2-jdk15.jar, + json_lib/json-lib-2.2.3-jdk13.jar, + ., + axis2_lib/activation-1.1.jar, + axis2_lib/antlr-2.7.7.jar, + axis2_lib/apache-mime4j-core-0.7.2.jar, + axis2_lib/axiom-api-1.2.13.jar, + axis2_lib/axiom-dom-1.2.13.jar, + axis2_lib/axiom-impl-1.2.13.jar, + axis2_lib/axis2-adb-1.6.2.jar, + axis2_lib/axis2-adb-codegen-1.6.2.jar, + axis2_lib/axis2-ant-plugin-1.6.2.jar, + axis2_lib/axis2-clustering-1.6.2.jar, + axis2_lib/axis2-codegen-1.6.2.jar, + axis2_lib/axis2-corba-1.6.2.jar, + axis2_lib/axis2-fastinfoset-1.6.2.jar, + axis2_lib/axis2-java2wsdl-1.6.2.jar, + axis2_lib/axis2-jaxbri-1.6.2.jar, + axis2_lib/axis2-jaxws-1.6.2.jar, + axis2_lib/axis2-jibx-1.6.2.jar, + axis2_lib/axis2-json-1.6.2.jar, + axis2_lib/axis2-kernel-1.6.2.jar, + axis2_lib/axis2-metadata-1.6.2.jar, + axis2_lib/axis2-mtompolicy-1.6.2.jar, + axis2_lib/axis2-saaj-1.6.2.jar, + axis2_lib/axis2-soapmonitor-servlet-1.6.2.jar, + axis2_lib/axis2-spring-1.6.2.jar, + axis2_lib/axis2-transport-http-1.6.2.jar, + axis2_lib/axis2-transport-local-1.6.2.jar, + axis2_lib/axis2-xmlbeans-1.6.2.jar, + axis2_lib/bcel-5.1.jar, + axis2_lib/commons-cli-1.2.jar, + axis2_lib/commons-codec-1.3.jar, + axis2_lib/commons-fileupload-1.2.jar, + axis2_lib/commons-httpclient-3.1.jar, + axis2_lib/commons-io-1.4.jar, + axis2_lib/commons-logging-1.1.1.jar, + axis2_lib/geronimo-annotation_1.0_spec-1.1.jar, + axis2_lib/geronimo-jaxws_2.2_spec-1.0.jar, + axis2_lib/geronimo-jta_1.1_spec-1.1.jar, + axis2_lib/geronimo-saaj_1.3_spec-1.0.1.jar, + axis2_lib/geronimo-stax-api_1.0_spec-1.0.1.jar, + axis2_lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar, + axis2_lib/httpcore-4.0.jar, + axis2_lib/jalopy-1.5rc3.jar, + axis2_lib/jaxb-api-2.1.jar, + axis2_lib/jaxb-impl-2.1.7.jar, + axis2_lib/jaxb-xjc-2.1.7.jar, + axis2_lib/jaxen-1.1.1.jar, + axis2_lib/jaxws-tools-2.1.3.jar, + axis2_lib/jettison-1.0-RC2.jar, + axis2_lib/jibx-bind-1.2.jar, + axis2_lib/jibx-run-1.2.jar, + axis2_lib/jsr311-api-1.0.jar, + axis2_lib/juli-6.0.16.jar, + axis2_lib/log4j-1.2.15.jar, + axis2_lib/mail-1.4.jar, + axis2_lib/mex-1.6.2-impl.jar, + axis2_lib/neethi-3.0.2.jar, + axis2_lib/regexp-1.2.jar, + axis2_lib/tribes-6.0.16.jar, + axis2_lib/woden-api-1.0M9.jar, + axis2_lib/woden-impl-commons-1.0M9.jar, + axis2_lib/woden-impl-dom-1.0M9.jar, + axis2_lib/wsdl4j-1.6.2.jar, + axis2_lib/wstx-asl-3.2.9.jar, + axis2_lib/xalan-2.7.0.jar, + axis2_lib/xml-resolver-1.2.jar, + axis2_lib/xmlbeans-2.3.0.jar, + axis2_lib/XmlSchema-1.4.7.jar diff --git a/cn.com.origin.autocode/ant/.svn/README.txt b/cn.com.origin.autocode/ant/.svn/README.txt new file mode 100644 index 0000000..271a8ce --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/README.txt @@ -0,0 +1,2 @@ +This is a Subversion working copy administrative directory. +Visit http://subversion.tigris.org/ for more information. diff --git a/cn.com.origin.autocode/ant/.svn/dir-wcprops b/cn.com.origin.autocode/ant/.svn/dir-wcprops new file mode 100644 index 0000000..0fed885 --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/dir-wcprops @@ -0,0 +1,5 @@ +K 25 +svn:wc:ra_dav:version-url +V 68 +/svn/projects/!svn/ver/380/Dicastal8.1/com.teamcenter.rac.tcapps/ant +END diff --git a/cn.com.origin.autocode/ant/.svn/empty-file b/cn.com.origin.autocode/ant/.svn/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/cn.com.origin.autocode/ant/.svn/entries b/cn.com.origin.autocode/ant/.svn/entries new file mode 100644 index 0000000..de2a58e --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/entries @@ -0,0 +1,21 @@ + + + + + diff --git a/cn.com.origin.autocode/ant/.svn/format b/cn.com.origin.autocode/ant/.svn/format new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/format @@ -0,0 +1 @@ +4 diff --git a/cn.com.origin.autocode/ant/.svn/text-base/build.xml.svn-base b/cn.com.origin.autocode/ant/.svn/text-base/build.xml.svn-base new file mode 100644 index 0000000..b01e5d8 --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/text-base/build.xml.svn-base @@ -0,0 +1,90 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cn.com.origin.autocode/ant/.svn/wcprops/build.xml.svn-work b/cn.com.origin.autocode/ant/.svn/wcprops/build.xml.svn-work new file mode 100644 index 0000000..2eaac6b --- /dev/null +++ b/cn.com.origin.autocode/ant/.svn/wcprops/build.xml.svn-work @@ -0,0 +1,5 @@ +K 25 +svn:wc:ra_dav:version-url +V 78 +/svn/projects/!svn/ver/380/Dicastal8.1/com.teamcenter.rac.tcapps/ant/build.xml +END diff --git a/cn.com.origin.autocode/ant/build.xml b/cn.com.origin.autocode/ant/build.xml new file mode 100644 index 0000000..eab5f97 --- /dev/null +++ b/cn.com.origin.autocode/ant/build.xml @@ -0,0 +1,57 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cn.com.origin.autocode/build.properties b/cn.com.origin.autocode/build.properties new file mode 100644 index 0000000..470d41f --- /dev/null +++ b/cn.com.origin.autocode/build.properties @@ -0,0 +1,80 @@ +source.. = src/ +output.. = classes/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + json_lib/commons-beanutils-1.7.0.jar,\ + json_lib/commons-collections-3.2.jar,\ + json_lib/commons-lang-2.4.jar,\ + json_lib/commons-logging-1.1.jar,\ + json_lib/ezmorph-1.0.4.jar,\ + json_lib/jdom.jar,\ + json_lib/json-lib-2.2.2-jdk15.jar,\ + json_lib/json-lib-2.2.3-jdk13.jar,\ + axis2_lib/activation-1.1.jar,\ + axis2_lib/antlr-2.7.7.jar,\ + axis2_lib/apache-mime4j-core-0.7.2.jar,\ + axis2_lib/axiom-api-1.2.13.jar,\ + axis2_lib/axiom-dom-1.2.13.jar,\ + axis2_lib/axiom-impl-1.2.13.jar,\ + axis2_lib/axis2-adb-1.6.2.jar,\ + axis2_lib/axis2-adb-codegen-1.6.2.jar,\ + axis2_lib/axis2-ant-plugin-1.6.2.jar,\ + axis2_lib/axis2-clustering-1.6.2.jar,\ + axis2_lib/axis2-codegen-1.6.2.jar,\ + axis2_lib/axis2-corba-1.6.2.jar,\ + axis2_lib/axis2-fastinfoset-1.6.2.jar,\ + axis2_lib/axis2-java2wsdl-1.6.2.jar,\ + axis2_lib/axis2-jaxbri-1.6.2.jar,\ + axis2_lib/axis2-jaxws-1.6.2.jar,\ + axis2_lib/axis2-jibx-1.6.2.jar,\ + axis2_lib/axis2-json-1.6.2.jar,\ + axis2_lib/axis2-kernel-1.6.2.jar,\ + axis2_lib/axis2-metadata-1.6.2.jar,\ + axis2_lib/axis2-mtompolicy-1.6.2.jar,\ + axis2_lib/axis2-saaj-1.6.2.jar,\ + axis2_lib/axis2-soapmonitor-servlet-1.6.2.jar,\ + axis2_lib/axis2-spring-1.6.2.jar,\ + axis2_lib/axis2-transport-http-1.6.2.jar,\ + axis2_lib/axis2-transport-local-1.6.2.jar,\ + axis2_lib/axis2-xmlbeans-1.6.2.jar,\ + axis2_lib/bcel-5.1.jar,\ + axis2_lib/commons-cli-1.2.jar,\ + axis2_lib/commons-codec-1.3.jar,\ + axis2_lib/commons-fileupload-1.2.jar,\ + axis2_lib/commons-httpclient-3.1.jar,\ + axis2_lib/commons-io-1.4.jar,\ + axis2_lib/commons-logging-1.1.1.jar,\ + axis2_lib/geronimo-annotation_1.0_spec-1.1.jar,\ + axis2_lib/geronimo-jaxws_2.2_spec-1.0.jar,\ + axis2_lib/geronimo-jta_1.1_spec-1.1.jar,\ + axis2_lib/geronimo-saaj_1.3_spec-1.0.1.jar,\ + axis2_lib/geronimo-stax-api_1.0_spec-1.0.1.jar,\ + axis2_lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar,\ + axis2_lib/httpcore-4.0.jar,\ + axis2_lib/jalopy-1.5rc3.jar,\ + axis2_lib/jaxb-api-2.1.jar,\ + axis2_lib/jaxb-impl-2.1.7.jar,\ + axis2_lib/jaxb-xjc-2.1.7.jar,\ + axis2_lib/jaxen-1.1.1.jar,\ + axis2_lib/jaxws-tools-2.1.3.jar,\ + axis2_lib/jettison-1.0-RC2.jar,\ + axis2_lib/jibx-bind-1.2.jar,\ + axis2_lib/jibx-run-1.2.jar,\ + axis2_lib/jsr311-api-1.0.jar,\ + axis2_lib/juli-6.0.16.jar,\ + axis2_lib/log4j-1.2.15.jar,\ + axis2_lib/mail-1.4.jar,\ + axis2_lib/mex-1.6.2-impl.jar,\ + axis2_lib/neethi-3.0.2.jar,\ + axis2_lib/regexp-1.2.jar,\ + axis2_lib/tribes-6.0.16.jar,\ + axis2_lib/woden-api-1.0M9.jar,\ + axis2_lib/woden-impl-commons-1.0M9.jar,\ + axis2_lib/woden-impl-dom-1.0M9.jar,\ + axis2_lib/wsdl4j-1.6.2.jar,\ + axis2_lib/wstx-asl-3.2.9.jar,\ + axis2_lib/xalan-2.7.0.jar,\ + axis2_lib/xml-resolver-1.2.jar,\ + axis2_lib/xmlbeans-2.3.0.jar,\ + axis2_lib/XmlSchema-1.4.7.jar diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassabstractclass_16.png b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassabstractclass_16.png new file mode 100644 index 0000000..d28e0f0 Binary files /dev/null and b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassabstractclass_16.png differ diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassgroup_16.png b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassgroup_16.png new file mode 100644 index 0000000..3f39188 Binary files /dev/null and b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassgroup_16.png differ diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassstorageclass_16.png b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassstorageclass_16.png new file mode 100644 index 0000000..780fcdb Binary files /dev/null and b/cn.com.origin.autocode/classes/cn/com/origin/autocode/classification/panels/images/inclassstorageclass_16.png differ diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale.properties b/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale.properties new file mode 100644 index 0000000..4e53506 --- /dev/null +++ b/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale.properties @@ -0,0 +1,75 @@ +# @@ +# ================================================== +# Copyright 2010. +# Siemens Product Lifecycle Management Software Inc. +# All Rights Reserved. +# ================================================== +# @@ + +# Entries for NewBOWizard +#----------------------------- +wizard.TITLE = New Business Object +NewItemWizard.TITLE = New Item +NewFolderWizard.TITLE = New Folder +NewFormWizard.TITLE = New Form +NewTableRowWizard.TITLE = New Table Row +NewNameValueWizard.TITLE = New Name Value + +General = General +Cleartext.TIP = Clear textbox +# Entries for create props pages +# ------------------------------ +IdRevBlank.MSG = Leave {0} and {1} fields blank for auto-assign. +OneAttributeBlank.MSG = Leave {0} field blank for auto-assign. +createPage.TITLE=Object Create Information +createPage.DESCRIPTION=Define business object create information + +# Entries for NewBOOperation +# ---------------------------- +newBOOperation.NAME = New Business Object +creatingBO.MSG = Creating business object + +# Entries for New Structure Context wizard +# ---------------------------------------- +NewStructureContextHandler_NewSCWizardTitle=New Structure Context +NewStructureContext_wrongSelection_TITLE=Error +NewStructureContext_wrongSelection_MESSAGE=Structure Context cannot be selected for this command. + +# Entries for New Collaboration Context wizard +# ---------------------------------------- +NewCollaborationContextHandler_NewCCWizardTitle=New Collaboration Context + +# Entries for the OpenOnCreatePanel +# ---------------------------------------- +OpenOnCreatePanel_checkBoxTitle=Open On Create +CopyToClipboard_checkBoxTitle=Copy To Clipboard + +# Entries for the MMSaveAsWizard +# ---------------------------------------- +saveAswizard.TITLE =Save {0} As +toomanyObjects.MSG = Can not save more than one objects at same time. +saveAs.TITLE = Save As... + +propertyWithoutSrcObject.MSG=Property page creation failed. Please contact your Administrator. +saveAsServiceNotAvailble.MEG=Save As Service initialization failed. Please contact your Administrator. +modelPopulationError.MESSAGE=Associated object's property page creation failed. Please contact your Administrator. +saveAsNotSupported.MESSAGE=Save As on {0} is not supported, because {0} is a runtime object. +invalidSelection.MESSAGE=Selected object is invalid for the Save As operation. + +# Entries for the DeepCopyPage +# ---------------------------------------- +objectColumn.TITLE= Object Name +dcAction.TITLE= Copy Option +relation.TITLE= Relation Name + +# Entries for the Deep Copy Option +# ---------------------------------------- +copyReference.OPTION= Reference Copy +copyAsObject.OPTION= Object Copy +noCopy.OPTION= No Copy + +# Entries for EditPropertiesSWTHandler +# ------------------------------- +editPropertyTask.MSG=Edit Properties... + + diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale_zh_CN.properties b/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale_zh_CN.properties new file mode 100644 index 0000000..8fa1e06 --- /dev/null +++ b/cn.com.origin.autocode/classes/cn/com/origin/autocode/handlers/messages_locale_zh_CN.properties @@ -0,0 +1,75 @@ +# @@ +# ================================================== +# Copyright 2010. +# Siemens Product Lifecycle Management Software Inc. +# All Rights Reserved. +# ================================================== +# @@ + +# Entries for NewBOWizard +#----------------------------- +wizard.TITLE = \u65B0\u5EFA\u4E1A\u52A1\u5BF9\u8C61 +NewItemWizard.TITLE = \u65B0\u5EFA\u96F6\u7EC4\u4EF6 +NewFolderWizard.TITLE = \u65B0\u5EFA\u6587\u4EF6\u5939 +NewFormWizard.TITLE = \u65B0\u5EFA\u8868\u5355 +NewTableRowWizard.TITLE = \u65B0\u5EFA\u8868\u884C +NewNameValueWizard.TITLE = \u65B0\u5EFA\u540D\u79F0\u503C + +General = \u5E38\u89C4 +Cleartext.TIP = \u6E05\u9664\u6587\u672C\u6846 +# Entries for create props pages +# ------------------------------ +IdRevBlank.MSG = \u4FDD\u7559 {0}\u548C{1}\u5B57\u6BB5\u4E3A\u7A7A\u4EE5\u81EA\u52A8\u8D4B\u503C\u3002 +OneAttributeBlank.MSG = \u4FDD\u7559 {0} \u5B57\u6BB5\u4E3A\u7A7A\u4EE5\u81EA\u52A8\u8D4B\u503C\u3002 +createPage.TITLE=\u5BF9\u8C61\u521B\u5EFA\u4FE1\u606F +createPage.DESCRIPTION=\u5B9A\u4E49\u4E1A\u52A1\u5BF9\u8C61\u521B\u5EFA\u4FE1\u606F + +# Entries for NewBOOperation +# ---------------------------- +newBOOperation.NAME = \u65B0\u5EFA\u4E1A\u52A1\u5BF9\u8C61 +creatingBO.MSG = \u6B63\u5728\u521B\u5EFA\u4E1A\u52A1\u5BF9\u8C61 + +# Entries for New Structure Context wizard +# ---------------------------------------- +NewStructureContextHandler_NewSCWizardTitle=\u65B0\u5EFA\u7ED3\u6784\u5173\u8054 +NewStructureContext_wrongSelection_TITLE=\u9519\u8BEF +NewStructureContext_wrongSelection_MESSAGE=\u65E0\u6CD5\u4E3A\u6B64\u547D\u4EE4\u9009\u62E9\u7ED3\u6784\u5173\u8054\u3002 + +# Entries for New Collaboration Context wizard +# ---------------------------------------- +NewCollaborationContextHandler_NewCCWizardTitle=\u65B0\u5EFA\u534F\u540C\u5173\u8054 + +# Entries for the OpenOnCreatePanel +# ---------------------------------------- +OpenOnCreatePanel_checkBoxTitle=\u521B\u5EFA\u540E\u6253\u5F00 +CopyToClipboard_checkBoxTitle=\u590D\u5236\u5230\u526A\u8D34\u677F + +# Entries for the MMSaveAsWizard +# ---------------------------------------- +saveAswizard.TITLE =\u5C06{0}\u53E6\u5B58\u4E3A +toomanyObjects.MSG = \u4E0D\u80FD\u540C\u65F6\u4FDD\u5B58\u591A\u4E2A\u5BF9\u8C61\u3002 +saveAs.TITLE = \u53E6\u5B58\u4E3A... + +propertyWithoutSrcObject.MSG=\u672A\u80FD\u521B\u5EFA\u5C5E\u6027\u9875\u3002\u8BF7\u4E0E\u7BA1\u7406\u5458\u8054\u7CFB\u3002 +saveAsServiceNotAvailble.MEG=\u672A\u80FD\u8FDB\u884C\u201C\u53E6\u5B58\u4E3A\u670D\u52A1\u201D\u521D\u59CB\u5316\u3002\u8BF7\u4E0E\u7BA1\u7406\u5458\u8054\u7CFB\u3002 +modelPopulationError.MESSAGE=\u672A\u80FD\u521B\u5EFA\u5173\u8054\u5BF9\u8C61\u7684\u5C5E\u6027\u9875\u3002\u8BF7\u4E0E\u7BA1\u7406\u5458\u8054\u7CFB\u3002 +saveAsNotSupported.MESSAGE={0} \u4E2D\u4E0D\u652F\u6301\u201C\u53E6\u5B58\u4E3A\u201D\u64CD\u4F5C\uFF0C\u56E0\u4E3A {0} \u662F\u8FD0\u884C\u65F6\u5BF9\u8C61\u3002 +invalidSelection.MESSAGE=\u9009\u5B9A\u5BF9\u8C61\u5BF9\u4E8E\u201C\u53E6\u5B58\u4E3A\u201D\u64CD\u4F5C\u65E0\u6548\u3002 + +# Entries for the DeepCopyPage +# ---------------------------------------- +objectColumn.TITLE= \u5BF9\u8C61\u540D\u79F0 +dcAction.TITLE= \u590D\u5236\u9009\u9879 +relation.TITLE= \u5173\u7CFB\u540D\u79F0 + +# Entries for the Deep Copy Option +# ---------------------------------------- +copyReference.OPTION= \u5F15\u7528\u590D\u5236 +copyAsObject.OPTION= \u5BF9\u8C61\u590D\u5236 +noCopy.OPTION= \u4E0D\u590D\u5236 + +# Entries for EditPropertiesSWTHandler +# ------------------------------- +editPropertyTask.MSG=\u7F16\u8F91\u5C5E\u6027... + + diff --git a/cn.com.origin.autocode/classes/cn/com/origin/autocode/newitem/generatcode/NewCodeItemDialog_20170706备份 b/cn.com.origin.autocode/classes/cn/com/origin/autocode/newitem/generatcode/NewCodeItemDialog_20170706备份 new file mode 100644 index 0000000..3fdeb83 --- /dev/null +++ b/cn.com.origin.autocode/classes/cn/com/origin/autocode/newitem/generatcode/NewCodeItemDialog_20170706备份 @@ -0,0 +1,2931 @@ +/** + * @author tyl + * @Action ini + * 2011-4-4 + */ +package cn.com.origin.autocode.newitem.generatcode; + +import java.awt.Dimension; +import java.awt.Toolkit; +import java.awt.datatransfer.StringSelection; +import java.io.IOException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Date; +import java.util.HashMap; +import java.util.Hashtable; +import java.util.List; +import java.util.Map; +import java.util.Vector; + +import javax.swing.JDialog; +import javax.xml.bind.JAXBException; + +import org.eclipse.jface.dialogs.Dialog; +import org.eclipse.jface.dialogs.IDialogConstants; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.swt.SWT; +import org.eclipse.swt.custom.CTabFolder; +import org.eclipse.swt.custom.CTabItem; +import org.eclipse.swt.custom.SashForm; +import org.eclipse.swt.custom.ScrolledComposite; +import org.eclipse.swt.custom.TableEditor; +import org.eclipse.swt.events.ControlAdapter; +import org.eclipse.swt.events.ControlEvent; +import org.eclipse.swt.events.DisposeEvent; +import org.eclipse.swt.events.DisposeListener; +import org.eclipse.swt.events.FocusEvent; +import org.eclipse.swt.events.FocusListener; +import org.eclipse.swt.events.ModifyEvent; +import org.eclipse.swt.events.ModifyListener; +import org.eclipse.swt.events.SelectionAdapter; +import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.events.VerifyEvent; +import org.eclipse.swt.events.VerifyListener; +import org.eclipse.swt.graphics.Point; +import org.eclipse.swt.layout.FillLayout; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Combo; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.DateTime; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Table; +import org.eclipse.swt.widgets.TableColumn; +import org.eclipse.swt.widgets.TableItem; +import org.eclipse.swt.widgets.Text; +import org.eclipse.swt.widgets.Widget; + +import cn.com.origin.autocode.jfom.util.ClassProperty; +import cn.com.origin.autocode.jfom.util.JFomBZJBean; +import cn.com.origin.autocode.jfom.util.JFomBean; +import cn.com.origin.autocode.jfom.util.JFomLovBean; +import cn.com.origin.autocode.jfom.util.JFomMethodUtil; +import cn.com.origin.autocode.jfom.util.JFomUtil; +import cn.com.origin.autocode.jfom.util.SoaServerUtil; +import cn.com.origin.autocode.newitem.origin.ORAfterNewItemCustomization; +import cn.com.origin.autocode.newitem.origin.ORCreateICOObject; +import cn.com.origin.autocode.newitem.origin.ORSaveObjectDescOperation; +import cn.com.origin.autocode.newitem.system.ORItemInfoPanel; +import cn.com.origin.autocode.newitem.system.ORNewItemDialog; +import cn.com.origin.autocode.saveas.ORSaveItemAsDialog; +import cn.com.origin.autocode.views.itemtypeview.NewItemClassificationView; +import cn.com.origin.autocode.xmlutil.CNCompontent; +import cn.com.origin.autocode.xmlutil.CNPart; +import cn.com.origin.autocode.xmlutil.CNPartList; +import cn.com.origin.autocode.xmlutil.CNProperty; +import cn.com.origin.autocode.xmlutil.CNXmlUtil; +import cn.com.origin.autocodemanager.common.AutoCodeManagerPropertyName; +import cn.com.origin.autocodemanager.common.CreateCompositeUtil; +import cn.com.origin.autocodemanager.common.PackCodeDescInfos; +import cn.com.origin.autocodemanager.common.TCLOVUtil; +import cn.com.origin.autocodemanager.common.TCPreferenceUitl; +import cn.com.origin.autocodemanager.common.TCQueryUtil; +import cn.com.origin.autocodemanager.common.operations.GetCodeNumber; +import cn.com.origin.autocodemanager.common.operations.PackCodeNodeInfo; +import cn.com.origin.autocodemanager.common.operations.TreeAndListCodeOperation; +import cn.com.origin.autocodemanager.common.tree.AbstractTreeData; +import cn.com.origin.autocodemanager.common.tree.TreeViewOperation; +import cn.com.origin.autocodemanager.views.listcodeview.NewItemListCodeView; +import cn.com.origin.autocodemanager.views.treecodeview.NewItemTreeCodeView; + +import com.teamcenter.rac.aif.AIFClipboard; +import com.teamcenter.rac.aif.AIFPortal; +import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent; +import com.teamcenter.rac.aifrcp.AIFUtility; +import com.teamcenter.rac.kernel.ListOfValuesInfo; +import com.teamcenter.rac.kernel.SoaUtil; +import com.teamcenter.rac.kernel.TCAccessControlService; +import com.teamcenter.rac.kernel.TCClassificationService; +import com.teamcenter.rac.kernel.TCComponent; +import com.teamcenter.rac.kernel.TCComponentFolder; +import com.teamcenter.rac.kernel.TCComponentForm; +import com.teamcenter.rac.kernel.TCComponentFormType; +import com.teamcenter.rac.kernel.TCComponentGroup; +import com.teamcenter.rac.kernel.TCComponentICO; +import com.teamcenter.rac.kernel.TCComponentItem; +import com.teamcenter.rac.kernel.TCComponentItemRevision; +import com.teamcenter.rac.kernel.TCComponentItemRevisionType; +import com.teamcenter.rac.kernel.TCComponentItemType; +import com.teamcenter.rac.kernel.TCComponentListOfValues; +import com.teamcenter.rac.kernel.TCComponentListOfValuesType; +import com.teamcenter.rac.kernel.TCComponentPseudoFolder; +import com.teamcenter.rac.kernel.TCComponentRole; +import com.teamcenter.rac.kernel.TCComponentUser; +import com.teamcenter.rac.kernel.TCException; +import com.teamcenter.rac.kernel.TCExceptionPartial; +import com.teamcenter.rac.kernel.TCPreferenceService; +import com.teamcenter.rac.kernel.TCProperty; +import com.teamcenter.rac.kernel.TCSession; +import com.teamcenter.rac.kernel.ics.ICSAdminClass; +import com.teamcenter.rac.kernel.ics.ICSAdminClassAttribute; +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.kernel.ics.ICSSearchResult; +import com.teamcenter.rac.kernel.ics.ICSView; +import com.teamcenter.rac.util.MessageBox; +import com.teamcenter.rac.util.PlatformHelper; +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.CreateInput; +import com.teamcenter.soa.client.model.LovValue; + +public class NewCodeItemDialog extends Dialog { + // ӢĶ + private SashForm sashFormCodeView; + private CTabItem codeTreeCTab; + private CTabItem codeListCTab; + private Composite compositCodeTree; + private Composite compositCodeList; + private CTabFolder ctabFolder; + private Text idLengthText; + private Text DescText; + private Text idText; + private Text revText; + private Text nameText; + private Combo unitCombo; + private NewItemClassificationView classificationView; + private NewItemListCodeView listView; + private NewItemTreeCodeView treeView; + private TreeViewer classificationTreeViewer; + private TreeViewOperation treeViewOperation; + public TreeAndListCodeOperation treeAndListCodeOperation; + private TCSession session; + private TCComponentItemType tccomponentitemtype; + private AbstractTreeData selectedSegmentNode = null; + private TCComponent selectedSegmentTCComponent = null; + private AbstractTreeData icoTreeData; + private String pattern = ""; + private String codeDesc = ""; + private String codeStyle = ""; + private String newSeq = ""; + private String counterID = ""; + private String newID = ""; + private String finalPattern = ""; + private String idPattern = ""; + //20170510 class id + private String codeRemark = ""; + + private int codeLength; + private Map icoPropertyMap; + private String firstListICOName = ""; + private String codeCounterName = ""; + private Map segmentItemType; + private TCComponent newComp; + private String showItemType = ""; + private Boolean isTypeFilter = false; + private String origin_isNewItemMustLastNode = "origin_isNewItemMustLastNode"; + private String origin_idNeddExamineAndApproveTypes = "origin_idNeddExamineAndApproveTypes"; + private String origin_sendToClassification_excludeType = "origin_sendToClassification_excludeType"; + private String origin_sendToPreviousTreeNode = "origin_sendToPreviousTreeNode"; + private String origin_sendToClassification_Automatic = "origin_sendToClassification_Automatic"; + private String origin_isCodePatternCanEditTypes = "origin_isCodePatternCanEditTypes"; + private String unitLOVName = "Unit of Measures"; + private String origin_newItem_isShowUnit = "origin_newItem_isShowUnit"; + private String origin_showUnit_excludeTypes = "origin_showUnit_excludeTypes"; + private JDialog newItemDialog; + private ORItemInfoPanel orNewItemInfoPanel; + private TCComponent[] units = null; + private String origin_isItemNameTextDefaultNull = "origin_isItemNameTextDefaultNull"; + private PackCodeDescInfos packCodeDescInfos = null; + private SashForm container; + private SashForm itemInfoComposite; + private SashForm sashFormClassfication; + private String origin_isMustSelecteUnit = "origin_isMustSelecteUnit"; + private String origin_searchGenerateID = "origin_searchGenerateID"; + private String origin_isNotSaveNewItemToPseudoFolder = "origin_isNotSaveNewItemToPseudoFolder"; + private String origin_isShowPCUnitLast = "origin_isShowPCUnitLast"; + private String origin_newCodeSequenceNumber = "origin_newCodeSequenceNumber"; + private String origin_sequenceExcludeFirstPatternTypes = "origin_sequenceExcludeFirstPatternTypes"; + private String connor_isCanCreateTempMaterial = "connor_isCanCreateTempMaterial"; + + private Composite cpxCompsite; + private Label cpxLabel; + private Text cpxText; + private Label nfLabel; + private Text nfText; + private Label cpxLabel2; + private Combo cpxText2; + + private final String CPX = "CPDM"; + private final String NF = "NF"; + private final String CPX2 = "CP"; + private final String JY_CPX_Option = "JY_CPX_Option"; + private HashMap jyCPXMap; + + // 2017.05.10 + private Button isCreateTempItemButton = null; + private Boolean isCreateTempItem = false; + + // 2017.06.02 + //private List<> + private Composite objPropComposite; + private Composite classPropComposite; + private static TCClassificationService classService; + private static ICSAdminClass adminClass; + + // 2017.06.26 + private String LPBIGString; + private String LPSString; + + //2017.07.02 + private CNPartList cnPartList; + private CNPart currentCNPart; + private List cnpropList; + + public Text getIdLengthText() { + return idLengthText; + } + + public void setIdLengthText(Text idLengthText) { + this.idLengthText = idLengthText; + } + + public Combo getUnitCombo() { + return unitCombo; + } + + public void setUnitCombo(Combo unitCombo) { + this.unitCombo = unitCombo; + } + + public Text getDescText() { + return DescText; + } + + public void setDescText(Text descText) { + DescText = descText; + } + + public Text getIdText() { + return idText; + } + + public void setIdText(Text idText) { + this.idText = idText; + } + + public Text getRevText() { + return revText; + } + + public void setRevText(Text revText) { + this.revText = revText; + } + + public Text getNameText() { + return nameText; + } + + public void setNameText(Text nameText) { + this.nameText = nameText; + } + + public TCComponent getNewComp() { + return newComp; + } + + public void setNewComp(TCComponent newComp) { + this.newComp = newComp; + } + + public NewCodeItemDialog(Shell parentShell) { + super(parentShell); + treeViewOperation = new TreeViewOperation(); + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + public NewCodeItemDialog(Shell parentShell, String showItemType) { + super(parentShell); + treeViewOperation = new TreeViewOperation(); + this.showItemType = showItemType.trim(); + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + public NewCodeItemDialog(Shell parentShell, String showItemType,Boolean isFilterType) { + super(parentShell); + treeViewOperation = new TreeViewOperation(); + this.showItemType = showItemType.trim(); + this.isTypeFilter = isFilterType; + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + public NewCodeItemDialog(JDialog newItemDialog, Shell parentShell, + String showItemType) { + super(parentShell); + this.newItemDialog = newItemDialog; + treeViewOperation = new TreeViewOperation(); + this.showItemType = showItemType.trim(); + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + public NewCodeItemDialog(Shell parentShell, String showItemType, + PackCodeDescInfos packCodeDescInfos) { + super(parentShell); + treeViewOperation = new TreeViewOperation(); + this.showItemType = showItemType.trim(); + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + this.packCodeDescInfos = packCodeDescInfos; + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + public NewCodeItemDialog(ORItemInfoPanel newItemInfoPanel, + Shell parentShell, String showItemType) { + super(parentShell); + this.orNewItemInfoPanel = newItemInfoPanel; + treeViewOperation = new TreeViewOperation(); + this.showItemType = showItemType.trim(); + treeAndListCodeOperation = new TreeAndListCodeOperation(); + session = (TCSession) AIFUtility.getCurrentApplication().getSession(); + segmentItemType = new HashMap(); + try { + tccomponentitemtype = (TCComponentItemType) (session + .getTypeComponent("Item")); + } catch (TCException e) { + e.printStackTrace(); + } + } + + /** + * ҳ + * ӷϤҳ + * @param parent + */ + public void createClassTablePannel(Composite parent1){ + + GridLayout gridLayout = new GridLayout(); + gridLayout.numColumns = 2; + GridData gridData1 = new GridData(); + gridData1.widthHint= 200; + gridData1.heightHint = 320; + gridData1.horizontalAlignment = GridData.FILL; + gridData1.verticalAlignment = GridData.CENTER; + gridData1.grabExcessHorizontalSpace = true; + + CTabFolder ctabFolder = new CTabFolder(parent1, SWT.BORDER); + ctabFolder.setBorderVisible(true); + ctabFolder.setSimple(false); + ctabFolder.setLayoutData(gridData1); + CTabItem objPropTab = new CTabItem(ctabFolder, SWT.NONE); + objPropTab.setText(""); + Composite objectCompsite = new Composite(ctabFolder, SWT.BORDER); + objectCompsite.setLayout(new FillLayout()); + final ScrolledComposite objectSrolledComposite = new ScrolledComposite(objectCompsite, SWT.V_SCROLL); + objPropComposite = new Composite(objectSrolledComposite, SWT.NONE); + objPropComposite.setLayout(gridLayout); + objectSrolledComposite.setContent(objPropComposite);//ܿ + objectSrolledComposite.setExpandHorizontal(true); + objectSrolledComposite.setExpandVertical(true); + objectSrolledComposite.addControlListener( + new ControlAdapter() { + public void controlResized(ControlEvent e) { + Point r = objPropComposite.computeSize(SWT.DEFAULT, SWT.DEFAULT); + objectSrolledComposite.setMinSize(objectSrolledComposite.computeSize(r.x, r.y)); + } + } + ); + objPropTab.setControl(objectCompsite); + ctabFolder.setSelection(0); + // + CTabItem classPropTab = new CTabItem(ctabFolder, SWT.NONE); + classPropTab.setText(""); + Composite classCompsite = new Composite(ctabFolder, SWT.BORDER); + classCompsite.setLayout(new FillLayout()); + final ScrolledComposite classSrolledComposite = new ScrolledComposite(classCompsite, SWT.V_SCROLL); + classPropComposite = new Composite(classSrolledComposite, SWT.NONE);//ctabFolder + classPropComposite.setLayout(gridLayout); + classSrolledComposite.setContent(classPropComposite);//ܿ + classSrolledComposite.setExpandHorizontal(true); + classSrolledComposite.setExpandVertical(true); + classSrolledComposite.addControlListener( + new ControlAdapter() { + public void controlResized(ControlEvent e) { + Point r = classPropComposite.computeSize(SWT.DEFAULT, SWT.DEFAULT); + classSrolledComposite.setMinSize(classSrolledComposite.computeSize(r.x, r.y)); + } + } + ); + classPropTab.setControl(classCompsite); + + } + + public List