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 36985 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.patch6 (text/plain), 22.24 KB, created by
andy zhai
on 2006-03-27 07:33:40 EST
(
hide
)
Description:
patch fix to org.eclipse.jst.ws.axis.consumption.core
Filename:
MIME Type:
Creator:
andy zhai
Created:
2006-03-27 07:33:40 EST
Size:
22.24 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/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 26 Mar 2006 17:21:30 -0000 >@@ -34,6 +34,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 +150,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 26 Mar 2006 17:21:32 -0000 >@@ -18,6 +18,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 +29,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 +136,7 @@ > // > // eclipse -vmargs "-DAxisWsdl2JavaTimeout=60000" > // >- >+ AxisEmitterContext context = WebServiceAxisConsumptionCorePlugin.getInstance().getAxisEmitterContext(); > String wsdl2JavaTimeoutProperty = System.getProperty("AxisWsdl2JavaTimeout"); > if (wsdl2JavaTimeoutProperty != null) { > long timeout; >@@ -141,6 +144,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 26 Mar 2006 17:21:32 -0000 >@@ -13,6 +13,10 @@ > > 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 +43,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 +73,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 26 Mar 2006 17:21:28 -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/TransientAxisEmitterContext.java >=================================================================== >RCS file: src/org/eclipse/jst/ws/internal/axis/consumption/core/context/TransientAxisEmitterContext.java >diff -N src/org/eclipse/jst/ws/internal/axis/consumption/core/context/TransientAxisEmitterContext.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/jst/ws/internal/axis/consumption/core/context/TransientAxisEmitterContext.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,119 @@ >+package org.eclipse.jst.ws.internal.axis.consumption.core.context; >+ >+/** >+ * This class implements a AxisEmitterContext interface where the state of the >+ * context data is transient. >+ * >+ */ >+public class TransientAxisEmitterContext implements AxisEmitterContext { >+ private boolean allWanted; >+ >+ private boolean helperWanted; >+ >+ private boolean wrapArrays; >+ >+ private boolean useInheritedMethods; >+ >+ private int deployScopeType; >+ >+ private int timeOut; >+ >+ public TransientAxisEmitterContext() { >+ setAllWantedEnabled(AxisEmitterDefaults.getAllWantedDefault()); >+ setHelperWantedEnabled(AxisEmitterDefaults.getHelperWantedDefault()); >+ setWrapArraysEnabled(AxisEmitterDefaults.getWrapArraysDefault()); >+ } >+ >+ /** >+ * @see AxisEmitterContext#setAllWantedEnabled(boolean) >+ */ >+ public void setAllWantedEnabled(boolean enable) { >+ allWanted = enable; >+ } >+ >+ /** >+ * @see AxisEmitterContext#isAllWantedEnabled(boolean) >+ */ >+ public boolean isAllWantedEnabled() { >+ return allWanted; >+ } >+ >+ /** >+ * @see AxisEmitterContext#setHelperWantedEnabled(boolean) >+ */ >+ public void setHelperWantedEnabled(boolean enable) { >+ helperWanted = enable; >+ } >+ >+ /** >+ * @see AxisEmitterContext#isHelperWantedEnabled(boolean) >+ */ >+ public boolean isHelperWantedEnabled() { >+ return helperWanted; >+ } >+ >+ /** >+ * @see AxisEmitterContext#setWrapArraysEnabled(boolean) >+ */ >+ public void setWrapArraysEnabled(boolean enable) { >+ wrapArrays = enable; >+ } >+ >+ /** >+ * @see AxisEmitterContext#isWrapArraysEnabled(boolean) >+ */ >+ public boolean isWrapArraysEnabled() { >+ return wrapArrays; >+ } >+ >+ /** >+ * @see AxisEmitterContext#selectDeployScopeType(int selection) >+ */ >+ public void selectDeployScopeType(int selection) { >+ deployScopeType = selection; >+ } >+ >+ /** >+ * @see AxisEmitterContext#getDeployScopeType() >+ */ >+ public int getDeployScopeType() { >+ return deployScopeType; >+ } >+ >+ /** >+ * @see AxisEmitterContext#setTimeOut(int seconds) >+ */ >+ public void setTimeOut(int seconds) { >+ timeOut = seconds; >+ } >+ >+ /** >+ * @see AxisEmitterContext#getTimeOut() >+ */ >+ public int getTimeOut() { >+ return timeOut; >+ } >+ >+ /** >+ * @see AxisEmitterContext#setUseInheritedMethodsEnabled(boolean) >+ */ >+ public void setUseInheritedMethodsEnabled(boolean enable) { >+ useInheritedMethods = enable; >+ } >+ >+ /** >+ * @see AxisEmitterContext#isUseInheritedMethodsEnabled(boolean) >+ */ >+ public boolean isUseInheritedMethodsEnabled() { >+ return useInheritedMethods; >+ } >+ >+ public AxisEmitterContext copy() { >+ AxisEmitterContext aec = new TransientAxisEmitterContext(); >+ aec.setAllWantedEnabled(isAllWantedEnabled()); >+ aec.setHelperWantedEnabled(isHelperWantedEnabled()); >+ aec.setWrapArraysEnabled(isWrapArraysEnabled()); >+ return aec; >+ } >+ >+} >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,65 @@ >+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,101 @@ >+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); >+ } >+ >+ public AxisEmitterContext copy() >+ { >+ AxisEmitterContext aec = new TransientAxisEmitterContext(); >+ aec.setAllWantedEnabled(isAllWantedEnabled()); >+ aec.setHelperWantedEnabled(isHelperWantedEnabled()); >+ aec.setWrapArraysEnabled(isWrapArraysEnabled()); >+ aec.selectDeployScopeType(getDeployScopeType()); >+ aec.setTimeOut(getTimeOut()); >+ return aec; >+ } >+} >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,148 @@ >+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. >+ */ >+ public AxisEmitterContext copy(); >+}
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