Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 37262 Details for
Bug 127016
Add an Axis emitter preference page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch fix to org.eclipse.jst.ws.axis.consumption.core
127016[1].org.eclipse.jst.ws.axis.consumption.core.patch7 (text/plain), 24.01 KB, created by
andy zhai
on 2006-03-29 20:48:50 EST
(
hide
)
Description:
patch fix to org.eclipse.jst.ws.axis.consumption.core
Filename:
MIME Type:
Creator:
andy zhai
Created:
2006-03-29 20:48:50 EST
Size:
24.01 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.ws.axis.consumption.core >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java,v >retrieving revision 1.2 >diff -u -r1.2 AxisConsumptionCoreMessages.java >--- src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java 30 Nov 2005 05:44:10 -0000 1.2 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCoreMessages.java 30 Mar 2006 01:44:45 -0000 >@@ -7,6 +7,9 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai > *******************************************************************************/ > package org.eclipse.jst.ws.internal.axis.consumption.core; > >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties,v >retrieving revision 1.4 >diff -u -r1.4 AxisConsumptionCore.properties >--- src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties 6 Feb 2006 22:04:41 -0000 1.4 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/AxisConsumptionCore.properties 30 Mar 2006 01:44:44 -0000 >@@ -7,6 +7,9 @@ > # > # Contributors: > # IBM Corporation - initial API and implementation >+# yyyymmdd bug Email and other contact information >+# -------- -------- ----------------------------------------------------------- >+# 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai > ############################################################################### > > # >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java,v >retrieving revision 1.14 >diff -u -r1.14 Java2WSDLCommand.java >--- src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java 8 Mar 2006 15:15:11 -0000 1.14 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/command/Java2WSDLCommand.java 30 Mar 2006 01:44:46 -0000 >@@ -10,6 +10,7 @@ > * yyyymmdd bug Email and other contact information > * -------- -------- ----------------------------------------------------------- > * 20060106 121199 jesper@selskabet.org - Jesper Møller >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai > *******************************************************************************/ > package org.eclipse.jst.ws.internal.axis.consumption.core.command; > >@@ -34,6 +35,8 @@ > import org.eclipse.core.runtime.Status; > import org.eclipse.jst.ws.internal.axis.consumption.core.AxisConsumptionCoreMessages; > import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterContext; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterDefaults; > import org.eclipse.jst.ws.internal.axis.consumption.core.plugin.WebServiceAxisConsumptionCorePlugin; > import org.eclipse.jst.ws.internal.plugin.WebServicePlugin; > import org.eclipse.osgi.util.NLS; >@@ -148,6 +151,14 @@ > > emitter.setImplClass(javaWSDLParam_.getBeanName()); > >+ AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext(); >+ >+ if (context.isUseInheritedMethodsEnabled() != AxisEmitterDefaults.getUseInheritedMethodsDefault()) >+ { >+ emitter.setUseInheritedMethods(context.isUseInheritedMethodsEnabled()); >+ environment.getLog().log(ILog.INFO, 5018, this, "executeAntTask", " set UseInheritedMethods : " + context.isUseInheritedMethodsEnabled() ); >+ } >+ > HashMap mappings = javaWSDLParam_.getMappings(); > if(mappings != null){ > Iterator keys = mappings.keySet().iterator(); >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java,v >retrieving revision 1.16 >diff -u -r1.16 WSDL2JavaCommand.java >--- src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java 6 Feb 2006 22:04:41 -0000 1.16 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java 30 Mar 2006 01:44:48 -0000 >@@ -7,6 +7,9 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai > *******************************************************************************/ > package org.eclipse.jst.ws.internal.axis.consumption.core.command; > >@@ -18,6 +21,7 @@ > import java.util.Iterator; > import java.util.List; > >+import org.apache.axis.constants.Scope; > import org.apache.axis.wsdl.toJava.Emitter; > import org.apache.axis.wsdl.toJava.GeneratedFileInfo; > import org.eclipse.core.runtime.IAdaptable; >@@ -28,6 +32,8 @@ > import org.eclipse.core.runtime.Status; > import org.eclipse.jst.ws.internal.axis.consumption.core.AxisConsumptionCoreMessages; > import org.eclipse.jst.ws.internal.axis.consumption.core.common.JavaWSDLParameter; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterContext; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterDefaults; > import org.eclipse.jst.ws.internal.axis.consumption.core.plugin.WebServiceAxisConsumptionCorePlugin; > import org.eclipse.jst.ws.internal.common.ResourceUtils; > import org.eclipse.jst.ws.internal.plugin.WebServicePlugin; >@@ -133,7 +139,7 @@ > // > // eclipse -vmargs "-DAxisWsdl2JavaTimeout=60000" > // >- >+ AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext(); > String wsdl2JavaTimeoutProperty = System.getProperty("AxisWsdl2JavaTimeout"); > if (wsdl2JavaTimeoutProperty != null) { > long timeout; >@@ -141,6 +147,50 @@ > wsdl2Java.setTimeout(timeout); > environment.getLog().log(ILog.INFO, 5091, this, "execute", "Timeout = " + timeout); > } >+ else if(context.getTimeOut() != AxisEmitterDefaults.getTimeOutDefault()) >+ { >+ long timeout = context.getTimeOut() * 1000; >+ wsdl2Java.setTimeout(timeout); >+ environment.getLog().log(ILog.INFO, 5091, this, "execute", "Timeout = " + timeout); >+ } >+ if (context.getDeployScopeType() != AxisEmitterDefaults.getDeployScopeDefault()) >+ { >+ switch (context.getDeployScopeType()) >+ { >+ case AxisEmitterContext.DEPLOY_SCOPE_TYPE_APPLICATION: >+ wsdl2Java.setScope(Scope.APPLICATION); >+ environment.getLog().log(ILog.INFO, 5092, this, "execute", " Deploy Scope: Application" ); >+ break; >+ case AxisEmitterContext.DEPLOY_SCOPE_TYPE_REQUEST: >+ wsdl2Java.setScope(Scope.REQUEST); >+ environment.getLog().log(ILog.INFO, 5092, this, "execute", " Deploy Scope: Request" ); >+ break; >+ case AxisEmitterContext.DEPLOY_SCOPE_TYPE_SESSTION: >+ wsdl2Java.setScope(Scope.SESSION); >+ environment.getLog().log(ILog.INFO, 5092, this, "execute", " Deploy Scope: Session" ); >+ break; >+ default: >+ } >+ } >+ >+ if (context.isAllWantedEnabled() != AxisEmitterDefaults.getAllWantedDefault()) >+ { >+ wsdl2Java.setAllWanted(context.isAllWantedEnabled()); >+ environment.getLog().log(ILog.INFO, 5093, this, "execute", " set AllWanted : " + context.isAllWantedEnabled() ); >+ } >+ >+ if (context.isHelperWantedEnabled() != AxisEmitterDefaults.getHelperWantedDefault()) >+ { >+ wsdl2Java.setHelperWanted(context.isHelperWantedEnabled()); >+ environment.getLog().log(ILog.INFO, 5094, this, "execute", " set HelperWanted : " + context.isHelperWantedEnabled() ); >+ } >+ if (context.isWrapArraysEnabled() != AxisEmitterDefaults.getWrapArraysDefault()) >+ { >+ wsdl2Java.setWrapArrays(context.isWrapArraysEnabled()); >+ environment.getLog().log(ILog.INFO, 5095, this, "execute", " set WrapArrays : " + context.isWrapArraysEnabled() ); >+ } >+ >+ > > ProgressUtils.report(monitor, NLS.bind(AxisConsumptionCoreMessages.MSG_PARSING_WSDL, javaWSDLParam.getInputWsdlLocation() ) ); > >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java,v >retrieving revision 1.2 >diff -u -r1.2 WebServiceAxisConsumptionCorePlugin.java >--- src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java 2 Dec 2005 12:35:29 -0000 1.2 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/plugin/WebServiceAxisConsumptionCorePlugin.java 30 Mar 2006 01:44:48 -0000 >@@ -7,12 +7,19 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai > *******************************************************************************/ > > package org.eclipse.jst.ws.internal.axis.consumption.core.plugin; > > import org.eclipse.core.runtime.CoreException; > import org.eclipse.core.runtime.Plugin; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.AxisEmitterContext; >+import org.eclipse.jst.ws.internal.axis.consumption.core.context.PersistentAxisEmitterContext; >+import org.eclipse.wst.command.internal.env.context.PersistentResourceContext; >+import org.eclipse.wst.command.internal.env.core.context.ResourceContext; > import org.eclipse.wst.common.environment.EnvironmentService; > import org.eclipse.wst.common.environment.ILog; > import org.osgi.framework.BundleContext; >@@ -39,6 +46,7 @@ > private static WebServiceAxisConsumptionCorePlugin instance_; > private ILog log_; > >+ private PersistentAxisEmitterContext axisEmitterContext_; > /** > * Constructs a runtime plugin object for this plugin. > * The "plugin" element in plugin.xml should include the attribute >@@ -68,6 +76,13 @@ > static public WebServiceAxisConsumptionCorePlugin getInstance() { > return instance_; > } >+ >+ public AxisEmitterContext getAxisEmitterContext() >+ { >+ if (axisEmitterContext_ == null) >+ axisEmitterContext_ = PersistentAxisEmitterContext.getInstance(); >+ return axisEmitterContext_; >+ } > > /** > * Called once by the platform when this plugin is first loaded. >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/webtools/jst/components/ws/plugins/org.eclipse.jst.ws.axis.consumption.core/META-INF/MANIFEST.MF,v >retrieving revision 1.16 >diff -u -r1.16 MANIFEST.MF >--- META-INF/MANIFEST.MF 23 Mar 2006 17:48:25 -0000 1.16 >+++ META-INF/MANIFEST.MF 30 Mar 2006 01:44:44 -0000 >@@ -9,6 +9,7 @@ > Export-Package: org.eclipse.jst.ws.internal.axis.consumption.core;x-internal:=true, > org.eclipse.jst.ws.internal.axis.consumption.core.command;x-internal:=true, > org.eclipse.jst.ws.internal.axis.consumption.core.common;x-internal:=true, >+ org.eclipse.jst.ws.internal.axis.consumption.core.context, > org.eclipse.jst.ws.internal.axis.consumption.core.plugin;x-internal:=true > Require-Bundle: org.apache.ant, > org.eclipse.core.resources, >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java >=================================================================== >RCS file: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java >diff -N src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterDefaults.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,78 @@ >+/******************************************************************************* >+ * Copyright (c) 2006 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai >+ *******************************************************************************/ >+package org.eclipse.jst.ws.internal.axis.consumption.core.context; >+ >+public class AxisEmitterDefaults >+{ >+ private static final boolean PREFERENCE_ALL_WANTED_DEFAULT = false; >+ private static final boolean PREFERENCE_HELPER_WANTED_DEFAULT = false; >+ private static final boolean PREFERENCE_WRAP_ARRAYS_DEFAULT = false; >+ private static final boolean PREFERENCE_USE_INHERITED_METHODS_DEFAULT = false; >+ private static final int DEPLOY_SCOPE_DEFAULT = AxisEmitterContext.DEPLOY_SCOPE_TYPE_REQUEST; >+ private static final int TIME_OUT_DEFAULT = 45; >+ >+ /** >+ * >+ * @return returns the default setting for generating code for all elements. >+ */ >+ public static boolean getAllWantedDefault () >+ { >+ return PREFERENCE_ALL_WANTED_DEFAULT; >+ } >+ >+ /** >+ * >+ * @return returns the default setting for emitting seperate helpser class for metadata. >+ */ >+ public static boolean getHelperWantedDefault () >+ { >+ return PREFERENCE_HELPER_WANTED_DEFAULT; >+ } >+ >+ /** >+ * >+ * @return returns the default seting for wrapping arrays. >+ */ >+ public static boolean getWrapArraysDefault() >+ { >+ return PREFERENCE_WRAP_ARRAYS_DEFAULT; >+ } >+ >+ /** >+ * >+ * @return returns the default setting for using inherited methods. >+ */ >+ public static boolean getUseInheritedMethodsDefault() >+ { >+ return PREFERENCE_USE_INHERITED_METHODS_DEFAULT; >+ } >+ >+ /** >+ * >+ * @return returns the default setting for deploy scope type. >+ */ >+ public static int getDeployScopeDefault() >+ { >+ return DEPLOY_SCOPE_DEFAULT; >+ } >+ >+ /** >+ * >+ * @return returns the default setting for time out. >+ */ >+ public static int getTimeOutDefault() >+ { >+ return TIME_OUT_DEFAULT; >+ } >+} >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java >=================================================================== >RCS file: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java >diff -N src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/context/PersistentAxisEmitterContext.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,103 @@ >+/******************************************************************************* >+ * Copyright (c) 2006 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai >+ *******************************************************************************/ >+package org.eclipse.jst.ws.internal.axis.consumption.core.context; >+ >+import org.eclipse.jst.ws.internal.axis.consumption.core.plugin.WebServiceAxisConsumptionCorePlugin; >+import org.eclipse.wst.command.internal.env.context.PersistentContext; >+ >+public class PersistentAxisEmitterContext extends PersistentContext implements AxisEmitterContext >+{ >+ private static PersistentAxisEmitterContext context_ = null; >+ >+ public static PersistentAxisEmitterContext getInstance() >+ { >+ if (context_ == null) { >+ context_ = new PersistentAxisEmitterContext(); >+ context_.load(); >+ } >+ >+ return context_; >+ } >+ >+ private PersistentAxisEmitterContext() >+ { >+ super(WebServiceAxisConsumptionCorePlugin.getInstance()); >+ } >+ >+ public void load() >+ { >+ setDefault(PREFERENCE_ALL_WANTED, AxisEmitterDefaults.getAllWantedDefault()); >+ setDefault(PREFERENCE_HELPER_WANTED, AxisEmitterDefaults.getHelperWantedDefault()); >+ setDefault(PREFERENCE_WRAP_ARRAYS, AxisEmitterDefaults.getWrapArraysDefault()); >+ setDefault(PREFERENCE_USE_INHERITED_METHODS, AxisEmitterDefaults.getUseInheritedMethodsDefault()); >+ setDefault(PREFERENCE_DEPLOY_SCOPE, AxisEmitterDefaults.getDeployScopeDefault()); >+ setDefault(PREFERENCE_TIME_OUT, AxisEmitterDefaults.getTimeOutDefault()); >+ } >+ >+ public void setAllWantedEnabled(boolean enable) >+ { >+ setValue(PREFERENCE_ALL_WANTED, enable); >+ } >+ >+ public boolean isAllWantedEnabled() >+ { >+ return getValueAsBoolean(PREFERENCE_ALL_WANTED); >+ } >+ >+ public void setHelperWantedEnabled(boolean enable) >+ { >+ setValue(PREFERENCE_HELPER_WANTED, enable); >+ } >+ >+ public boolean isHelperWantedEnabled() >+ { >+ return getValueAsBoolean(PREFERENCE_HELPER_WANTED); >+ } >+ >+ public void setWrapArraysEnabled(boolean enable) >+ { >+ setValue(PREFERENCE_WRAP_ARRAYS, enable); >+ } >+ >+ public boolean isWrapArraysEnabled() >+ { >+ return getValueAsBoolean(PREFERENCE_WRAP_ARRAYS); >+ } >+ >+ public void setUseInheritedMethodsEnabled(boolean enable) >+ { >+ setValue(PREFERENCE_USE_INHERITED_METHODS, enable); >+ } >+ >+ public boolean isUseInheritedMethodsEnabled() >+ { >+ return getValueAsBoolean(PREFERENCE_USE_INHERITED_METHODS); >+ } >+ >+ public void selectDeployScopeType(int selection) { >+ setValue(PREFERENCE_DEPLOY_SCOPE, selection); >+ } >+ >+ public int getDeployScopeType() { >+ return getValueAsInt(PREFERENCE_DEPLOY_SCOPE); >+ } >+ >+ public void setTimeOut(int seconds) { >+ setValue(PREFERENCE_TIME_OUT, seconds); >+ } >+ >+ public int getTimeOut() { >+ return getValueAsInt(PREFERENCE_TIME_OUT); >+ } >+} >Index: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java >=================================================================== >RCS file: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java >diff -N src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/context/AxisEmitterContext.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,160 @@ >+/******************************************************************************* >+ * Copyright (c) 2006 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai >+ *******************************************************************************/ >+package org.eclipse.jst.ws.internal.axis.consumption.core.context; >+ >+public interface AxisEmitterContext { >+ /** >+ * This constant string is used to lookup the all_wanted general preference >+ * from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_ALL_WANTED = "allWanted"; >+ >+ /** >+ * This constant string is used to lookup the helper_wanted general >+ * preference from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_HELPER_WANTED = "helperWanted"; >+ >+ /** >+ * This constant string is used to lookup the wrap_arrays general preference >+ * from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_WRAP_ARRAYS = "wrapArrays"; >+ >+ /** >+ * This constant string is used to lookup the deploy_scope general >+ * preference from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_DEPLOY_SCOPE = "deployScope"; >+ >+ /** >+ * This constant string is used to lookup the time_out general preference >+ * from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_TIME_OUT = "timeOut"; >+ >+ /* >+ * Ensure the order is the same as it in deployScopeTypes.setItems(...) for >+ * class >+ * org.eclipse.jst.ws.internal.axis.consumption.ui.preferences.AxisEmitterPreferencePage. >+ */ >+ public static final int DEPLOY_SCOPE_TYPE_APPLICATION = 0; >+ >+ public static final int DEPLOY_SCOPE_TYPE_REQUEST = 1; >+ >+ public static final int DEPLOY_SCOPE_TYPE_SESSTION = 2; >+ >+ /** >+ * This constant string is used to lookup the use_inherited_methods general >+ * preference from the plugins local preferences store. >+ */ >+ public static final String PREFERENCE_USE_INHERITED_METHODS = "useInheritedMethods"; >+ >+ /** >+ * >+ * @param enable >+ * set whether generating code for all elements is enabled. >+ */ >+ public void setAllWantedEnabled(boolean enable); >+ >+ /** >+ * >+ * @return returns whether generating code for all elements is enabled. >+ */ >+ public boolean isAllWantedEnabled(); >+ >+ /** >+ * >+ * @param enable >+ * set whether emitting separate Helper classes for meta data is >+ * enabled. >+ */ >+ public void setHelperWantedEnabled(boolean enable); >+ >+ /** >+ * >+ * @param returns >+ * whether emitting separate Helper classes for meta data is >+ * enabled. >+ */ >+ public boolean isHelperWantedEnabled(); >+ >+ /** >+ * >+ * @param enable >+ * set whether wrapping arrays is enabled. >+ */ >+ >+ public void setWrapArraysEnabled(boolean enable); >+ >+ /** >+ * >+ * @param returns >+ * whether wrapping arrays is enabled. >+ */ >+ >+ public boolean isWrapArraysEnabled(); >+ >+ /** >+ * >+ * @param enable >+ * set whether using inherited methods is enabled. >+ */ >+ public void setUseInheritedMethodsEnabled(boolean enable); >+ >+ /** >+ * >+ * @param returns >+ * whether using inherited methods is enabled. >+ */ >+ >+ public boolean isUseInheritedMethodsEnabled(); >+ >+ /** >+ * >+ * @param selection >+ * set the deploy scope type. >+ */ >+ >+ public void selectDeployScopeType(int selection); >+ >+ /** >+ * >+ * @param returns >+ * the deploy scope type. >+ */ >+ >+ public int getDeployScopeType(); >+ >+ /** >+ * >+ * @param seconds >+ * set the time out. >+ */ >+ >+ public void setTimeOut(int seconds); >+ >+ /** >+ * >+ * @param returns >+ * the time out. >+ */ >+ >+ public int getTimeOut(); >+ >+ /** >+ * >+ * @return returns a copy of this AxisEmitterContext. >+ */ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 127016
:
36710
|
36711
|
36824
|
36825
|
36985
|
36986
|
37001
|
37003
|
37097
| 37262 |
37263